Commit a70ebc92 authored by lisong's avatar lisong

代码同步

parent 9c51c953
......@@ -241,12 +241,8 @@ public class PlanController extends AbstractBaseController {
public CommonResponse queryPointById(@ApiParam(value = "计划id", required = true) @PathVariable(name = "id") Long id) {
Plan plan = planService.queryPlanById(id);
String json=plan!=null? JSON.toJSONString(plan):null;
JSONObject obj=json!=null?JSON.parseObject(json):null;
if(obj!=null){
obj.put("id",obj.get("id").toString());
}
return CommonResponseUtil.success(obj);
Object ob= plan!=null?ToJson.tojson(plan):null;
return CommonResponseUtil.success(ob);
}
......
......@@ -474,9 +474,9 @@
DROP PROCEDURE IF EXISTS `updatePlanTask`;
</createProcedure>
</changeSet>
<changeSet author="gaodongdong" id="1610421278000-21" runAlways="true">
<changeSet author="gaodongdong" id="1610421278000-21-230419" runAlways="true">
<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
declare num int ;
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