异常计划

master
赵嘉伟 3 years ago
parent 268d02b6fd
commit 3f7b047ced

@ -120,7 +120,7 @@ public class AbnormalPlanServiceImpl extends ServiceImpl<AbnormalPlanMapper, Abn
abnormalBillDisposeDto.setAbnormalMethod(abnormalBillDispose.getAbnormalMethod());
abnormalBillDisposeDto.setShopOrder(abnormalBill.getShopOrder());
abnormalBillDisposeDto.setResrce(abnormalBill.getResrce());
abnormalBillDisposeDto.setItem(abnormalBill.getItemBo());
abnormalBillDisposeDto.setItemBo(abnormalBill.getItemBo());
abnormalBillDisposeDto.setNcQty(abnormalBill.getNcQty());
this.saveAbnormalPlan(abnormalBillDisposeDto,now);
}

@ -556,6 +556,8 @@
IT.DESCRIPTION ITEM_DESCRIPTION,ZAP.QTY QTY ,ZNU.FULL_NAME FULL_NAME,
ZAP.SEND_USER_GROUP SEND_USER_GROUP
FROM Z_ABNORMAL_PLAN ZAP
INNER JOIN Z_ABNORMAL_BILL ZAB ON ZAB.ABNORMAL_NO = ZAP.ABNORMAL_NO AND ZAB.SITE = #{abnormalPlanDto.site}
AND ZAB.TYPE = 'Z'
LEFT JOIN RESRCE R ON R.RESRCE = ZAP.RESRCE AND R.SITE = ZAP.SITE
LEFT JOIN ITEM_T IT ON IT.ITEM_BO = ZAP.ITEM_BO AND IT.LOCALE = #{locale}
LEFT JOIN Z_NWA_USER ZNU ON ZNU.USER_NAME = ZAP.PROCESSOR AND ZNU.SITE = ZAP.SITE

Loading…
Cancel
Save