Explorar o código

二线出岛放行业务修改

wenjinbiao hai 2 meses
pai
achega
bfe04c4954

+ 7 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qysecondlinehzdtz/service/impl/QySecondlineHzdTzServiceImpl.java

@@ -402,6 +402,11 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
             qySecondlineHzdTz.setHgHzdCode(this.baseMapper.createNo("QD"));
             qySecondlineHzdTz.setSbsj(new Date());
         }
+        if(ObjectUtil.isNotEmpty(qySecondlineHzdTzBaseParam.getBaseInfo().getStatus()) && "3".equals(qySecondlineHzdTzBaseParam.getBaseInfo().getStatus())){
+            //生成二线出岛记账
+            this.saveSecondWarehouse(qySecondlineHzdTzBaseParam,qySecondlineHzdTz);
+        }
+
         this.updateById(qySecondlineHzdTz);
 
         String hzdId = qySecondlineHzdTz.getHzdId();
@@ -411,6 +416,8 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
         this.saveRelation(hzdId,qySecondlineHzdTzBaseParam);
         //保存回执
         this.saveHz(hzdId,qySecondlineHzdTzBaseParam);
+
+
     }
 
     private void deleteRelation(String hzdId) {