Commit e4e333bf by 徐高华

朋友圈

parent e80fc0d0
...@@ -52,6 +52,16 @@ public class QwMomentPlanAttendDTO implements Serializable{ ...@@ -52,6 +52,16 @@ public class QwMomentPlanAttendDTO implements Serializable{
private java.util.Date qwDataTime; private java.util.Date qwDataTime;
/**门店id*/ /**门店id*/
private String storeId; private String storeId;
// 0待下发 1已下发
private Integer statusFlag ;
public Integer getStatusFlag() {
return statusFlag;
}
public void setStatusFlag(Integer statusFlag) {
this.statusFlag = statusFlag;
}
public Long getAttendId() { public Long getAttendId() {
return attendId; return attendId;
......
...@@ -55,6 +55,14 @@ public class TabQwMomentPlanAttend implements Serializable{ ...@@ -55,6 +55,14 @@ public class TabQwMomentPlanAttend implements Serializable{
// 0待下发 1已下发 // 0待下发 1已下发
private Integer statusFlag ; private Integer statusFlag ;
public Integer getStatusFlag() {
return statusFlag;
}
public void setStatusFlag(Integer statusFlag) {
this.statusFlag = statusFlag;
}
public Long getAttendId() { public Long getAttendId() {
return attendId; return attendId;
} }
......
...@@ -56,9 +56,6 @@ ...@@ -56,9 +56,6 @@
<select id="listClerk" resultType="com.gic.haoban.manage.api.dto.moment.QwMomentPlanAttendDTO"> <select id="listClerk" resultType="com.gic.haoban.manage.api.dto.moment.QwMomentPlanAttendDTO">
select clerk_id clerkId , clerk_code clerkCode , clerk_name clerkName select clerk_id clerkId , clerk_code clerkCode , clerk_name clerkName
from tab_haoban_qw_moment_plan_attend where plan_id = #{planId} from tab_haoban_qw_moment_plan_attend where plan_id = #{planId}
<if test="doneFlag==1">
and attend_flag = 1
</if>
and delete_flag = 0 and delete_flag = 0
</select> </select>
......
...@@ -63,7 +63,6 @@ ...@@ -63,7 +63,6 @@
</sql> </sql>
<!-- ===================== 新增 ======================== --> <!-- ===================== 新增 ======================== -->
<insert id="insert"> <insert id="insert">
<![CDATA[
INSERT INTO tab_haoban_qw_moment_plan( INSERT INTO tab_haoban_qw_moment_plan(
plan_id, plan_id,
title, title,
...@@ -119,12 +118,11 @@ ...@@ -119,12 +118,11 @@
#{qwJobid,jdbcType=VARCHAR}, #{qwJobid,jdbcType=VARCHAR},
#{execRate,jdbcType=INTEGER} #{execRate,jdbcType=INTEGER}
) )
]]>
</insert> </insert>
<update id="update" parameterType="com.gic.haoban.manage.service.entity.moment.TabQwMomentPlan"> <update id="update" parameterType="com.gic.haoban.manage.service.entity.moment.TabQwMomentPlan">
<![CDATA[ UPDATE tab_haoban_qw_moment_plan <set>
UPDATE tab_haoban_qw_moment_plan SET
<if test="null != title"> <if test="null != title">
title=#{title}, title=#{title},
</if> </if>
...@@ -188,16 +186,7 @@ ...@@ -188,16 +186,7 @@
<if test="null != mediaInfoShow"> <if test="null != mediaInfoShow">
media_info_show=#{mediaInfoShow}, media_info_show=#{mediaInfoShow},
</if> </if>
<if test="null != totalLikeCount"> </set>
total_like_count=#{totalLikeCount},
</if>
<if test="null != totalCommentCount">
total_comment_count=#{totalCommentCount},
</if>
<if test="null != qwJobid">
qw_jobid=#{qwJobid},
</if>
]]>
where plan_id =#{planId} where plan_id =#{planId}
</update> </update>
......
...@@ -40,8 +40,10 @@ public class MomentTest { ...@@ -40,8 +40,10 @@ public class MomentTest {
dto.setPlanClerkType(1); dto.setPlanClerkType(1);
dto.setPlanId(770643491869106177L);
List<String> clerkIds = Arrays.asList("a02065ae51594fb9832e4199d4e3a1b0","753a367d709d40a38b17ed25847d3b4b","b2ef17cce11f476b996d0b27ebadf7fb") ; // ,"b2ef17cce11f476b996d0b27ebadf7fb"
List<String> clerkIds = Arrays.asList("a02065ae51594fb9832e4199d4e3a1b0","753a367d709d40a38b17ed25847d3b4b") ;
dto.setSelectClerkIdList(clerkIds); dto.setSelectClerkIdList(clerkIds);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment