dongdingding
杜函宇 4 days ago
parent 203c1b1bc4
commit d387556cee

@ -507,7 +507,7 @@ public class AssetCurrentController extends BaseController {
@PutMapping
public AjaxResult update(@RequestBody @Valid AssetCurrent assetCurrent) {
//保存未修改之前的单位名称
AssetCurrent byId = assetCurrentService.getById(assetCurrent.getId());
// AssetCurrent byId = assetCurrentService.getById(assetCurrent.getId());
StringBuilder a = new StringBuilder();
if (assetCurrent.getGlymList() != null) {
assetCurrent.getGlymList().forEach(x -> {
@ -656,6 +656,8 @@ public class AssetCurrentController extends BaseController {
if (dwmcList.isEmpty()) {
delete(assetCurrent);
}else{
delete(assetCurrent);
for (AssetTask s:dwmcList){

Loading…
Cancel
Save