|
@@ -104,8 +104,7 @@ public class SyCostAllocationController {
|
|
|
if(type.equals("query")){
|
|
|
syCostAllocation=syCostAllocationService.queryByPlanNum(plannum,type);
|
|
|
if(syCostAllocation==null){
|
|
|
- result.setMessage("查找不到数据");
|
|
|
- return result;
|
|
|
+ return result.error500("找不到对应计划单号!!!");
|
|
|
}
|
|
|
}else if(type.equals("add")){
|
|
|
|