Commit 25fca1d0 by huangZW

111

parent 92f36d48
...@@ -74,4 +74,6 @@ public interface TabHaobanStaffClerkRelationMapper { ...@@ -74,4 +74,6 @@ public interface TabHaobanStaffClerkRelationMapper {
TabHaobanStaffClerkRelation getByClerkId(@Param("clerkId")String clerkId); TabHaobanStaffClerkRelation getByClerkId(@Param("clerkId")String clerkId);
int delByPrimaryKey(@Param("staffClerkRelationId")String staffClerkRelationId); int delByPrimaryKey(@Param("staffClerkRelationId")String staffClerkRelationId);
void delByClerkId(@Param("clerkId")String clerkId);
} }
\ No newline at end of file
...@@ -213,6 +213,6 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe ...@@ -213,6 +213,6 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
} }
@Override @Override
public void delByClerkId(String clerkId) { public void delByClerkId(String clerkId) {
tabHaobanStaffClerkRelationMapper.delByClerkId(clerkId);
} }
} }
...@@ -320,4 +320,13 @@ ...@@ -320,4 +320,13 @@
and status_flag =1 and status_flag =1
</update> </update>
<update id="delByClerkId" >
update tab_haoban_staff_clerk_relation
set
status_flag = 0,
update_time = now()
where clerk_id = #{clerkId,jdbcType=VARCHAR}
and status_flag =1
</update>
</mapper> </mapper>
\ No newline at end of file
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