|
@ -30,6 +30,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="qualityQualifiedNum" column="quality_qualified_num" /> |
|
|
<result property="qualityQualifiedNum" column="quality_qualified_num" /> |
|
|
<result property="qualityUnqualifiedNum" column="quality_unqualified_num" /> |
|
|
<result property="qualityUnqualifiedNum" column="quality_unqualified_num" /> |
|
|
<result property="storageNum" column="storage_num" /> |
|
|
<result property="storageNum" column="storage_num" /> |
|
|
|
|
|
<result property="processingFeeTotal" column="processing_fee_total" /> |
|
|
|
|
|
|
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectErpInboundOrderVo"> |
|
|
<sql id="selectErpInboundOrderVo"> |
|
@ -58,7 +60,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
a.num_total, |
|
|
a.num_total, |
|
|
a.quality_qualified_num, |
|
|
a.quality_qualified_num, |
|
|
a.quality_unqualified_num, |
|
|
a.quality_unqualified_num, |
|
|
a.storage_num |
|
|
a.storage_num, |
|
|
|
|
|
a.processing_fee_total |
|
|
from erp_inbound_order a |
|
|
from erp_inbound_order a |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
@ -107,6 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num,</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num,</if> |
|
|
<if test="qualityUnqualifiedNum != null">quality_unqualified_num,</if> |
|
|
<if test="qualityUnqualifiedNum != null">quality_unqualified_num,</if> |
|
|
<if test="storageNum != null">storage_num,</if> |
|
|
<if test="storageNum != null">storage_num,</if> |
|
|
|
|
|
<if test="processingFeeTotal != null">processing_fee_total,</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="delFlag != null">#{delFlag},</if> |
|
|
<if test="delFlag != null">#{delFlag},</if> |
|
@ -133,6 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="qualityQualifiedNum != null">#{qualityQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">#{qualityQualifiedNum},</if> |
|
|
<if test="qualityUnqualifiedNum != null">#{qualityUnqualifiedNum},</if> |
|
|
<if test="qualityUnqualifiedNum != null">#{qualityUnqualifiedNum},</if> |
|
|
<if test="storageNum != null">#{storageNum},</if> |
|
|
<if test="storageNum != null">#{storageNum},</if> |
|
|
|
|
|
<if test="processingFeeTotal != null">#{processingFeeTotal},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
@ -163,6 +168,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
|
<if test="qualityUnqualifiedNum != null">quality_unqualified_num = #{qualityUnqualifiedNum},</if> |
|
|
<if test="qualityUnqualifiedNum != null">quality_unqualified_num = #{qualityUnqualifiedNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
|
|
|
<if test="processingFeeTotal != null">processing_fee_total = #{processingFeeTotal},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
where id = #{id} |
|
|
where id = #{id} |
|
|
</update> |
|
|
</update> |
|
|