O
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
965 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.xujie.sys.modules.fanuc.dao.LaborClassCostMapper">
  4. <update id="updateByEntity" parameterType="com.xujie.sys.modules.fanuc.entity.LaborClassCostEntity">
  5. UPDATE labor_class_cost
  6. set unit_cost = #{unitCost},
  7. overhead_cost = #{overheadCost},
  8. um_id = #{umId},
  9. begin_date = #{beginDate},
  10. end_date = #{endDate},
  11. remark = #{remark}
  12. WHERE site = #{site} and class_no = #{classNo} and item_no = #{itemNo} and bu_no = #{buNo}
  13. </update>
  14. <delete id="removeByEntity" parameterType="com.xujie.sys.modules.fanuc.entity.LaborClassCostEntity">
  15. Delete
  16. from labor_class_cost
  17. WHERE site = #{site} and bu_no = #{buNo} And class_no = #{classNo} And item_no = #{itemNo}
  18. </delete>
  19. </mapper>