检验任务待办事项问题清单

master
赵嘉伟 3 years ago
parent f01c46f31e
commit f431c8563e

@ -31,6 +31,8 @@ public class InspectionTaskManage implements Serializable {
private LocalDateTime modifiedDateTime;
private String fullName;
private String resrceDescription;
private String operationDescription;
private String sfcQty;
private List<InspectionTaskManageDetail> inspectionTaskDetailList;
@ -233,4 +235,20 @@ public class InspectionTaskManage implements Serializable {
public void setResrceDescription(String resrceDescription) {
this.resrceDescription = resrceDescription;
}
public String getOperationDescription() {
return operationDescription;
}
public void setOperationDescription(String operationDescription) {
this.operationDescription = operationDescription;
}
public String getSfcQty() {
return sfcQty;
}
public void setSfcQty(String sfcQty) {
this.sfcQty = sfcQty;
}
}

@ -17,6 +17,7 @@
<result column="ITEM" property="item" />
<result column="ITEM_DESCRIPTION" property="itemDescription" />
<result column="OPERATION" property="operation" />
<result column="OPERATION_DESCRIPTION" property="operationDescription" />
<result column="STEP_ID" property="stepId" />
<result column="RESRCE" property="resrce" />
<result column="RESULT" property="result" />
@ -27,13 +28,19 @@
<result column="MODIFIED_DATE_TIME" property="modifiedDateTime" />
<result column="FULL_NAME" property="fullName"/>
<result column="RESRCE_DESCRIPTION" property="resrceDescription"/>
<result column="SFC_QTY" property="sfcQty" />
</resultMap>
<select id="findInspectionTask" resultMap="BaseResultMap">
SELECT B.HANDLE, B.SITE, B.CATEGORY, B.TASK_NO, B.DESCRIPTION, B.STATUS, B.INSPECTION_ITEM_BO, B.WORK_CENTER, B.SHOP_ORDER, B.SFC, B.OPERATION, B.STEP_ID, B.RESRCE, B.RESULT, B.COMMENTS, B.CREATE_USER, B.CREATED_DATE_TIME, B.MODIFY_USER, B.MODIFIED_DATE_TIME,
M.ITEM, Z.DESCRIPTION ITEM_DESCRIPTION,ZNU.FULL_NAME FULL_NAME,RS.DESCRIPTION RESRCE_DESCRIPTION
M.ITEM, Z.DESCRIPTION ITEM_DESCRIPTION,ZNU.FULL_NAME FULL_NAME,RS.DESCRIPTION RESRCE_DESCRIPTION,
O.OPERATION OPERATION,OT.DESCRIPTION OPERATION_DESCRIPTION,S.QTY SFC_QTY,B.COMMENTS COMMENTS
FROM Z_INSPECTION_TASK B
INNER JOIN RESRCE RS ON B.SITE = RS.SITE AND RS.RESRCE = B.RESRCE
INNER JOIN OPERATION O ON O.OPERATION = B.OPERATION AND O.SITE = B.SITE
LEFT JOIN OPERATION_T OT ON OT.OPERATION_BO = O.HANDLE AND OT.LOCALE = 'zh'
INNER JOIN SFC S ON S.SFC = B.SFC AND S.SITE = B.SITE
LEFT JOIN CUSTOM_FIELDS CF ON CF.HANDLE = RS.HANDLE AND CF.ATTRIBUTE = 'CHECK_USR'
INNER JOIN SFC S ON S.SITE = B.SITE AND S.SFC = B.SFC
INNER JOIN SHOP_ORDER P ON P.HANDLE = S.SHOP_ORDER_BO

Loading…
Cancel
Save