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
24 lines
965 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.xujie.sys.modules.fanuc.dao.LaborClassCostMapper">
|
|
|
|
|
|
<update id="updateByEntity" parameterType="com.xujie.sys.modules.fanuc.entity.LaborClassCostEntity">
|
|
UPDATE labor_class_cost
|
|
set unit_cost = #{unitCost},
|
|
overhead_cost = #{overheadCost},
|
|
um_id = #{umId},
|
|
begin_date = #{beginDate},
|
|
end_date = #{endDate},
|
|
remark = #{remark}
|
|
WHERE site = #{site} and class_no = #{classNo} and item_no = #{itemNo} and bu_no = #{buNo}
|
|
</update>
|
|
|
|
<delete id="removeByEntity" parameterType="com.xujie.sys.modules.fanuc.entity.LaborClassCostEntity">
|
|
Delete
|
|
from labor_class_cost
|
|
WHERE site = #{site} and bu_no = #{buNo} And class_no = #{classNo} And item_no = #{itemNo}
|
|
</delete>
|
|
|
|
|
|
</mapper>
|