|
|
@ -194,7 +194,7 @@
|
|
|
|
serialNo = #{serialNo,jdbcType=VARCHAR},
|
|
|
|
serialNo = #{serialNo,jdbcType=VARCHAR},
|
|
|
|
countNum = #{countNum,jdbcType=INTEGER},
|
|
|
|
countNum = #{countNum,jdbcType=INTEGER},
|
|
|
|
invNum = #{invNum,jdbcType=INTEGER},
|
|
|
|
invNum = #{invNum,jdbcType=INTEGER},
|
|
|
|
profitNum = #{productId,jdbcType=INTEGER},
|
|
|
|
profitNum = #{profitNum,jdbcType=INTEGER},
|
|
|
|
lossNum = #{lossNum,jdbcType=INTEGER},
|
|
|
|
lossNum = #{lossNum,jdbcType=INTEGER},
|
|
|
|
`status` = #{status,jdbcType=INTEGER}
|
|
|
|
`status` = #{status,jdbcType=INTEGER}
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
@ -334,6 +334,12 @@
|
|
|
|
<if test="batchNo != null and batchNo != ''">
|
|
|
|
<if test="batchNo != null and batchNo != ''">
|
|
|
|
AND batchNo = #{batchNo}
|
|
|
|
AND batchNo = #{batchNo}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="produceDate != null and produceDate != ''">
|
|
|
|
|
|
|
|
AND produceDate = #{produceDate}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="expireDate != null and expireDate != ''">
|
|
|
|
|
|
|
|
AND expireDate = #{expireDate}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|