Browse Source

2024-07-09

功能优化
java8
fengyuan_yang 2 years ago
parent
commit
c595550841
  1. 20
      src/main/java/com/xujie/sys/modules/pms/data/QcFAIRecordData.java
  2. 7
      src/main/resources/mapper/pms/QcMapper.xml

20
src/main/java/com/xujie/sys/modules/pms/data/QcFAIRecordData.java

@ -237,6 +237,26 @@ public class QcFAIRecordData extends QueryPage {
private String flag; private String flag;
private String submissionRemark;
private String submissionType;
public String getSubmissionRemark() {
return submissionRemark;
}
public void setSubmissionRemark(String submissionRemark) {
this.submissionRemark = submissionRemark;
}
public String getSubmissionType() {
return submissionType;
}
public void setSubmissionType(String submissionType) {
this.submissionType = submissionType;
}
public String getFlag() { public String getFlag() {
return flag; return flag;
} }

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

@ -2303,7 +2303,9 @@
isnull(dbo.joint_id(site, bu_no, inspection_no, 'coordination'), '') as operator, isnull(dbo.joint_id(site, bu_no, inspection_no, 'coordination'), '') as operator,
isnull(dbo.joint_name(site, bu_no, inspection_no, 'coordination'), '') as operatorName, isnull(dbo.joint_name(site, bu_no, inspection_no, 'coordination'), '') as operatorName,
isnull(dbo.joint_id(site, bu_no, inspection_no, 'responsible'), '') as responsiblePerson, isnull(dbo.joint_id(site, bu_no, inspection_no, 'responsible'), '') as responsiblePerson,
isnull(dbo.joint_name2(site, bu_no, inspection_no, 'responsible'), '') as responsiblePersonName
isnull(dbo.joint_name2(site, bu_no, inspection_no, 'responsible'), '') as responsiblePersonName,
submission_remark,
submission_type
FROM qc_iqc_record FROM qc_iqc_record
<where> <where>
site in (select site from eam_access_site where username = #{query.userName}) site in (select site from eam_access_site where username = #{query.userName})
@ -2365,6 +2367,9 @@
<if test = "query.orderType != null and query.orderType != ''"> <if test = "query.orderType != null and query.orderType != ''">
AND dbo.qc_get_order_type(site, po_orderNo, po_itemNo) = #{query.orderType} AND dbo.qc_get_order_type(site, po_orderNo, po_itemNo) = #{query.orderType}
</if> </if>
<if test = "query.submissionType != null and query.submissionType != ''">
AND submission_type = #{query.submissionType}
</if>
</where> </where>
ORDER BY ORDER BY
CASE WHEN state = '待检验' THEN 1 CASE WHEN state = '待检验' THEN 1

Loading…
Cancel
Save