Commit a70ebc92 authored by lisong's avatar lisong

代码同步

parent 9c51c953
...@@ -241,12 +241,8 @@ public class PlanController extends AbstractBaseController { ...@@ -241,12 +241,8 @@ public class PlanController extends AbstractBaseController {
public CommonResponse queryPointById(@ApiParam(value = "计划id", required = true) @PathVariable(name = "id") Long id) { public CommonResponse queryPointById(@ApiParam(value = "计划id", required = true) @PathVariable(name = "id") Long id) {
Plan plan = planService.queryPlanById(id); Plan plan = planService.queryPlanById(id);
String json=plan!=null? JSON.toJSONString(plan):null; Object ob= plan!=null?ToJson.tojson(plan):null;
JSONObject obj=json!=null?JSON.parseObject(json):null; return CommonResponseUtil.success(ob);
if(obj!=null){
obj.put("id",obj.get("id").toString());
}
return CommonResponseUtil.success(obj);
} }
......
...@@ -474,9 +474,9 @@ ...@@ -474,9 +474,9 @@
DROP PROCEDURE IF EXISTS `updatePlanTask`; DROP PROCEDURE IF EXISTS `updatePlanTask`;
</createProcedure> </createProcedure>
</changeSet> </changeSet>
<changeSet author="gaodongdong" id="1610421278000-21" runAlways="true"> <changeSet author="gaodongdong" id="1610421278000-21-230419" runAlways="true">
<createProcedure procedureName="updatePlanTask" > <createProcedure procedureName="updatePlanTask" >
CREATE PROCEDURE `updatePlanTask`(IN `planTaskId` int,IN `pointId` int,IN `planTaskDetailId` int,IN `executorId` int) CREATE PROCEDURE `updatePlanTask`(IN `planTaskId` BIGINT,IN `pointId` BIGINT,IN `planTaskDetailId` BIGINT,IN `executorId` BIGINT)
BEGIN BEGIN
declare num int ; declare num int ;
declare orgCode VARCHAR(50) ; declare orgCode VARCHAR(50) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment