结束退货检测是否已入库

This commit is contained in:
1378012178@qq.com 2025-12-24 10:28:59 +08:00
parent 6bc52fcf26
commit 34972c76fe
1 changed files with 4 additions and 1 deletions

View File

@ -554,7 +554,10 @@ public class ThdServiceImpl implements ITuiHuoApi {
NuInvoicingThdMain main = thdMainMapper.selectOne(qw);
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
// if(main == null || "")
//检测是否已入库
if(main == null || !"2".equals(main.getStatus())){
return false;
}
InvoicingOrdersEntity orderEntity = new InvoicingOrdersEntity();
orderEntity.setFlowCode("dyth_cksh");//指令流程flow_code 看接口有标明