Browse Source

2026-07-02

检验优化
master
fengyuan_yang 3 months ago
parent
commit
cec8c8fbf7
  1. 4
      src/main/java/com/gaotao/modules/pms/data/QcFAIRecordData.java
  2. 9
      src/main/resources/mapper/pms/QcMapper.xml

4
src/main/java/com/gaotao/modules/pms/data/QcFAIRecordData.java

@ -32,8 +32,8 @@ public class QcFAIRecordData extends QueryPage {
// 检验结果 // 检验结果
private String inspectionResult; private String inspectionResult;
// 送检日期 // 送检日期
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date taskDate; private Date taskDate;
private String controlMes; private String controlMes;

9
src/main/resources/mapper/pms/QcMapper.xml

@ -732,8 +732,7 @@
unqualified_qty = #{unqualifiedQty,jdbcType=DECIMAL}, unqualified_qty = #{unqualifiedQty,jdbcType=DECIMAL},
pass_qty = #{passQty,jdbcType=DECIMAL}, pass_qty = #{passQty,jdbcType=DECIMAL},
not_pass_qty = #{notPassQty,jdbcType=DECIMAL}, not_pass_qty = #{notPassQty,jdbcType=DECIMAL},
batch_qualified_qty = #{batchQualifiedQty,jdbcType=DECIMAL},
submit_date = getDate()
batch_qualified_qty = #{batchQualifiedQty,jdbcType=DECIMAL}
WHERE site = #{site} and inspection_no = #{inspectionNo} and bu_no = #{buNo} WHERE site = #{site} and inspection_no = #{inspectionNo} and bu_no = #{buNo}
</update> </update>
@ -1163,8 +1162,7 @@
unqualified_qty = #{unqualifiedQty,jdbcType=DECIMAL}, unqualified_qty = #{unqualifiedQty,jdbcType=DECIMAL},
pass_qty = #{passQty,jdbcType=DECIMAL}, pass_qty = #{passQty,jdbcType=DECIMAL},
not_pass_qty = #{notPassQty,jdbcType=DECIMAL}, not_pass_qty = #{notPassQty,jdbcType=DECIMAL},
batch_qualified_qty = #{batchQualifiedQty,jdbcType=DECIMAL},
submit_date = getDate()
batch_qualified_qty = #{batchQualifiedQty,jdbcType=DECIMAL}
WHERE site = #{site} and bu_no = #{buNo} and inspection_no = #{inspectionNo} WHERE site = #{site} and bu_no = #{buNo} and inspection_no = #{inspectionNo}
</update> </update>
@ -1567,8 +1565,7 @@
unqualified_qty = #{unqualifiedQty,jdbcType=DECIMAL}, unqualified_qty = #{unqualifiedQty,jdbcType=DECIMAL},
pass_qty = #{passQty,jdbcType=DECIMAL}, pass_qty = #{passQty,jdbcType=DECIMAL},
not_pass_qty = #{notPassQty,jdbcType=DECIMAL}, not_pass_qty = #{notPassQty,jdbcType=DECIMAL},
batch_qualified_qty = #{batchQualifiedQty,jdbcType=DECIMAL},
submit_date = getDate()
batch_qualified_qty = #{batchQualifiedQty,jdbcType=DECIMAL}
WHERE site = #{site} and inspection_no = #{inspectionNo} and bu_no = #{buNo} WHERE site = #{site} and inspection_no = #{inspectionNo} and bu_no = #{buNo}
</update> </update>

Loading…
Cancel
Save