|
|
@@ -85,6 +85,7 @@ public class AdminJtBusinessController extends CertifyApiController{
|
|
|
Result result=new Result();
|
|
|
//只允许修改3种字段
|
|
|
JtBusinessCategory jtBusinessCategory2=new JtBusinessCategory();
|
|
|
+ jtBusinessCategory2.setId(jtBusinessCategory.getId());
|
|
|
jtBusinessCategory2.setImgUrl(jtBusinessCategory.getImgUrl());
|
|
|
jtBusinessCategory2.setName(jtBusinessCategory.getName());
|
|
|
jtBusinessCategory2.setSummary(jtBusinessCategory.getSummary());
|
|
|
@@ -201,4 +202,14 @@ public class AdminJtBusinessController extends CertifyApiController{
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ @RequestMapping(value="/project/update",method=RequestMethod.POST)
|
|
|
+ private Result updateProject(JtBusinessProject jtBusinessProject) {
|
|
|
+ Result result=new Result();
|
|
|
+ jtBusinessProject.setCreateTime(null);
|
|
|
+// jtBusinessProject.setId(null);
|
|
|
+ jtBusinessProject.setNumber(null);
|
|
|
+ jtBusinessService.updateProject(jtBusinessProject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
}
|