修改bug

master
wangwei 2 years ago
parent 7fa4e80e7d
commit c90dece32b

@ -8,6 +8,7 @@ import com.glxp.api.common.enums.ResultEnum;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils;
import com.glxp.api.dao.inv.InvInnerOrderPdfTempDao;
import com.glxp.api.entity.inout.IoOrderEntity;
import com.glxp.api.entity.inv.InvInnerOrderPrintEntity;
import com.glxp.api.entity.inv.InvInnerOrderPdfTempEntity;
import com.glxp.api.entity.system.SystemPDFModuleEntity;
@ -18,6 +19,7 @@ import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.res.inv.innerOrderPrintRequest;
import com.glxp.api.service.auth.CustomerService;
import com.glxp.api.service.basic.UdiProductService;
import com.glxp.api.service.inout.IoOrderService;
import com.glxp.api.service.inv.InnerOrderDetailService;
import com.glxp.api.service.inv.InvInnerOrderPdfTempService;
import com.glxp.api.service.inv.InvInnerOrderPrintService;
@ -58,6 +60,8 @@ public class InvInnerOrderPrintController {
private JaspaperService jaspaperService;
@Resource
private InvInnerOrderPdfTempService innerOrderPdfTempService;
@Resource
private IoOrderService ioOrderService;
@GetMapping("/udiwms/innerOrderPrint/filter")
@ -187,6 +191,9 @@ public class InvInnerOrderPrintController {
innerOrderPrintEntity.setId(innerOrderPrintRequest.getId());
invInnerOrderPrintService.updateOrder(innerOrderPrintEntity);
}
IoOrderEntity ioOrderEntity=new IoOrderEntity();
ioOrderEntity.setInCodeStatus(1);
ioOrderService.update(ioOrderEntity);
return null;
}

@ -293,7 +293,7 @@ public class InvInnerOrderPrintServiceImpl implements InvInnerOrderPrintService
innerOrderPrintEntity.setUdiCode(udiCode);
invInnerOrderPrintDao.insert(innerOrderPrintEntity);
}
orderEntity.setInCodeStatus(1);//
orderEntity.setInCodeStatus(0);//
orderService.update(orderEntity);
return true;
}

Loading…
Cancel
Save