|
|
@ -12,6 +12,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="prodCode" column="prod_code" />
|
|
|
|
<result property="prodCode" column="prod_code" />
|
|
|
|
<result property="prodDesc" column="prod_desc" />
|
|
|
|
<result property="prodDesc" column="prod_desc" />
|
|
|
|
<result property="quantity" column="quantity" />
|
|
|
|
<result property="quantity" column="quantity" />
|
|
|
|
|
|
|
|
<result property="quantitySplit" column="quantity_split" />
|
|
|
|
<result property="unit" column="unit" />
|
|
|
|
<result property="unit" column="unit" />
|
|
|
|
<result property="workerOrder" column="worker_order" />
|
|
|
|
<result property="workerOrder" column="worker_order" />
|
|
|
|
<result property="planProDate" column="plan_pro_date" />
|
|
|
|
<result property="planProDate" column="plan_pro_date" />
|
|
|
@ -29,7 +30,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectProOrderVo">
|
|
|
|
<sql id="selectProOrderVo">
|
|
|
|
select id, factory_code, order_type, order_code, prod_code, prod_desc, quantity, unit, worker_order, plan_pro_date, plan_complete, atrr1, atrr2, atrr3, status, parent_order, create_by, create_time, update_by, update_time, prod_type from pro_order
|
|
|
|
select id, factory_code, order_type, order_code, prod_code, prod_desc, quantity, quantity_split
|
|
|
|
|
|
|
|
unit, worker_order, plan_pro_date, plan_complete, atrr1, atrr2, atrr3,
|
|
|
|
|
|
|
|
status, parent_order, create_by, create_time, update_by, update_time, prod_type
|
|
|
|
|
|
|
|
from pro_order
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectProOrderList" parameterType="ProOrder" resultMap="ProOrderResult">
|
|
|
|
<select id="selectProOrderList" parameterType="ProOrder" resultMap="ProOrderResult">
|
|
|
@ -69,6 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="prodCode != null">prod_code,</if>
|
|
|
|
<if test="prodCode != null">prod_code,</if>
|
|
|
|
<if test="prodDesc != null">prod_desc,</if>
|
|
|
|
<if test="prodDesc != null">prod_desc,</if>
|
|
|
|
<if test="quantity != null">quantity,</if>
|
|
|
|
<if test="quantity != null">quantity,</if>
|
|
|
|
|
|
|
|
<if test="quantitySplit != null">quantity_split,</if>
|
|
|
|
<if test="unit != null">unit,</if>
|
|
|
|
<if test="unit != null">unit,</if>
|
|
|
|
<if test="workerOrder != null">worker_order,</if>
|
|
|
|
<if test="workerOrder != null">worker_order,</if>
|
|
|
|
<if test="planProDate != null">plan_pro_date,</if>
|
|
|
|
<if test="planProDate != null">plan_pro_date,</if>
|
|
|
@ -92,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="prodCode != null">#{prodCode},</if>
|
|
|
|
<if test="prodCode != null">#{prodCode},</if>
|
|
|
|
<if test="prodDesc != null">#{prodDesc},</if>
|
|
|
|
<if test="prodDesc != null">#{prodDesc},</if>
|
|
|
|
<if test="quantity != null">#{quantity},</if>
|
|
|
|
<if test="quantity != null">#{quantity},</if>
|
|
|
|
|
|
|
|
<if test="quantitySplit != null">#{quantitySplit},</if>
|
|
|
|
<if test="unit != null">#{unit},</if>
|
|
|
|
<if test="unit != null">#{unit},</if>
|
|
|
|
<if test="workerOrder != null">#{workerOrder},</if>
|
|
|
|
<if test="workerOrder != null">#{workerOrder},</if>
|
|
|
|
<if test="planProDate != null">#{planProDate},</if>
|
|
|
|
<if test="planProDate != null">#{planProDate},</if>
|
|
|
@ -118,6 +124,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="prodCode != null">prod_code = #{prodCode},</if>
|
|
|
|
<if test="prodCode != null">prod_code = #{prodCode},</if>
|
|
|
|
<if test="prodDesc != null">prod_desc = #{prodDesc},</if>
|
|
|
|
<if test="prodDesc != null">prod_desc = #{prodDesc},</if>
|
|
|
|
<if test="quantity != null">quantity = #{quantity},</if>
|
|
|
|
<if test="quantity != null">quantity = #{quantity},</if>
|
|
|
|
|
|
|
|
<if test="quantitySplit != null">quantity_split = #{quantitySplit},</if>
|
|
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
|
|
<if test="workerOrder != null">worker_order = #{workerOrder},</if>
|
|
|
|
<if test="workerOrder != null">worker_order = #{workerOrder},</if>
|
|
|
|
<if test="planProDate != null">plan_pro_date = #{planProDate},</if>
|
|
|
|
<if test="planProDate != null">plan_pro_date = #{planProDate},</if>
|
|
|
|