生成-跳设备异常和其他异常参数增加问题描述

master
赵嘉伟 4 years ago
parent f30b98a362
commit 900ceb3b7d

@ -758,7 +758,7 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
@Override
public void createAnomalyTask(String category, String resource, String shopOrder,
String sfc, String ncCodes,String position,String ncQty,
String ncDescription,String userGroup) {
String ncDescription,String userGroup,String remark) {
String site = CommonMethods.getSite();
LocalDateTime now = LocalDateTime.now();
String user = CommonMethods.getUser();
@ -767,7 +767,6 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
AbnormalBill abnormalBill = new AbnormalBill();
if(Constants.ABNORMAL_RESRCE.equals(category)){
abnormalNo = this.getNextNumber(category);
abnormalBill.setNcCode(ncCodes);
abnormalBill.setRepairDateTime(now);
abnormalBill.setType(category);
@ -782,6 +781,7 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
abnormalBill.setStatus(Constants.NEW);
abnormalBill.setSfc(sfc);
abnormalBill.setShopOrder(shopOrder);
abnormalBill.setPbDescription(remark);
//根据工单找itemBo并放到异常单里面
if(shopOrder != null ){
ShopOrder shopOrder1 = shopOrderMapper.selectById(HandleEnum.SHOP_ORDER.getHandle(site, shopOrder));

@ -23,7 +23,7 @@ public interface AnomalyService {
void createAnomalyTask(String category, String resource, String shopOrder,
String sfc, String ncCodes,String position,String ncQty,
String ncDescription,String userGroup);
String ncDescription,String userGroup,String remark);
/**
*

Loading…
Cancel
Save