国网模版修改
This commit is contained in:
parent
75e333b0d8
commit
5bcb419e91
|
|
@ -75,8 +75,7 @@ public class StateGridController extends BaseController {
|
|||
@PostMapping("/getStateGridTempById")
|
||||
public AjaxResult getStateGridTempById(@RequestBody TbGwModelDto o) {
|
||||
try {
|
||||
TbGwModelVo bean = service.getStateGridTempById(o);
|
||||
return success(bean);
|
||||
return service.getStateGridTempById(o);
|
||||
}catch (Exception e){
|
||||
log.info("公司业绩管理详情失败{}",e.getMessage());
|
||||
return error("公司业绩管理详情失败");
|
||||
|
|
|
|||
|
|
@ -53,10 +53,15 @@ public class TbGwModelDto implements Serializable {
|
|||
private List<ComCorePersonBean> comCoreList;
|
||||
|
||||
/**
|
||||
* 公司关键人员id
|
||||
* 公司其他人员id
|
||||
*/
|
||||
private List<ComOtherPersonBean> comOtherList;
|
||||
|
||||
/**
|
||||
* 分包人员(EPC模版用)
|
||||
*/
|
||||
private List<ComOtherPersonBean> subPersonList;
|
||||
|
||||
/**
|
||||
* 分包列表
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -53,10 +53,15 @@ public class TbGwModelVo implements Serializable {
|
|||
private List<ComCorePersonBean> comCoreList;
|
||||
|
||||
/**
|
||||
* 公司关键人员id
|
||||
* 公司其他人员id
|
||||
*/
|
||||
private List<ComOtherPersonBean> comOtherList;
|
||||
|
||||
/**
|
||||
* 分包人员(EPC模版用)
|
||||
*/
|
||||
private List<ComOtherPersonBean> subPersonList;
|
||||
|
||||
/**
|
||||
* 分包列表
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public interface StateGridService {
|
|||
* @param o
|
||||
* @return
|
||||
*/
|
||||
TbGwModelVo getStateGridTempById(TbGwModelDto o);
|
||||
AjaxResult getStateGridTempById(TbGwModelDto o);
|
||||
|
||||
/**
|
||||
* 国网模版删除
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ public class StateGridServiceImpl implements StateGridService {
|
|||
* @return
|
||||
*/
|
||||
@Override
|
||||
public TbGwModelVo getStateGridTempById(TbGwModelDto o) {
|
||||
public AjaxResult getStateGridTempById(TbGwModelDto o) {
|
||||
try {
|
||||
//1.0获取国网模版详情
|
||||
TbGwModelVo bean = mapper.getStateGridTempById(o);
|
||||
|
|
@ -145,10 +145,10 @@ public class StateGridServiceImpl implements StateGridService {
|
|||
List<SubOtherPeopleBean> subOtherList = mapper.selectSubOtherList(o.getId(), item.getId());
|
||||
item.setSubPersonList(subOtherList);
|
||||
});
|
||||
return bean;
|
||||
return AjaxResult.success(bean);
|
||||
} catch (Exception e) {
|
||||
log.info("国网模版详情失败{}", e.getMessage());
|
||||
return null;
|
||||
return AjaxResult.error("国网模版详情失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue