|
@@ -332,9 +332,10 @@ public class CAcceptanceBasicInfoServiceImpl extends ServiceImpl<CAcceptanceBasi
|
|
//更新
|
|
//更新
|
|
updateAcceptanceSheet(acceptanceBasicInfo,request);
|
|
updateAcceptanceSheet(acceptanceBasicInfo,request);
|
|
//前端没有传验收单编号
|
|
//前端没有传验收单编号
|
|
- String acceptanceNumber = this.getById(acceptanceBasicInfo.getId())
|
|
|
|
- .getAcceptanceNumber();
|
|
|
|
- acceptanceBasicInfo.setAcceptanceNumber(acceptanceNumber);
|
|
|
|
|
|
+ CAcceptanceBasicInfo byId = this.getById(acceptanceBasicInfo.getId());
|
|
|
|
+ if(byId!=null){
|
|
|
|
+ acceptanceBasicInfo.setAcceptanceNumber(byId.getAcceptanceNumber());
|
|
|
|
+ }
|
|
updateById(acceptanceBasicInfo);
|
|
updateById(acceptanceBasicInfo);
|
|
} else {
|
|
} else {
|
|
//保存验收单信息
|
|
//保存验收单信息
|