|
@@ -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) {
|