Commit da7a662a by 徐高华

企微托管

parent 33fa04b7
......@@ -193,7 +193,7 @@
#{id,jdbcType=VARCHAR}
</foreach>
</if>
and delete_flag = 0
order by a.create_time desc
</select>
......@@ -215,6 +215,7 @@
<foreach collection="list" index="idex" item="item" separator="," close=")" open="(">
#{item}
</foreach>
and a.delete_flag = 0
</select>
<select id="listOpenStaffByStore" resultType="com.gic.haoban.manage.api.dto.StaffClerkRelationDTO">
......@@ -225,16 +226,17 @@
<foreach collection="list" index="idex" item="item" separator="," close=")" open="(">
#{item}
</foreach>
and a.delete_flag = 0
</select>
<select id="listAll" resultType="java.lang.String">
select staff_id from tab_haoban_open_staff where status_flag = 1
select staff_id from tab_haoban_open_staff where status_flag = 1 and delete_flag = 0
</select>
<select id="listOpenStoreId" resultType="java.lang.String">
select a.store_id from tab_haoban_staff_clerk_relation a left join tab_haoban_open_staff b on a.staff_id = b.staff_id
where a.wx_enterprise_id = #{wxEnterpriseId} and a.enterprise_id=#{enterpriseId} and a.status_flag = 1
and b.status_flag = 1
and b.status_flag = 1 and b.delete_flag = 0
</select>
<select id="getNum" resultType="java.lang.Integer">
......@@ -242,6 +244,7 @@
<if test="status==1">
and status_flag = 1
</if>
and delete_flag = 0
</select>
......
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