草稿删除接口
This commit is contained in:
@@ -44,10 +44,7 @@ import org.springframework.beans.BeanUtils;
|
|||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.scheduling.annotation.Async;
|
import org.springframework.scheduling.annotation.Async;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import com.tmsps.fk.common.base.action.BaseAction;
|
import com.tmsps.fk.common.base.action.BaseAction;
|
||||||
import com.tmsps.fk.common.util.ChkUtil;
|
import com.tmsps.fk.common.util.ChkUtil;
|
||||||
@@ -2521,6 +2518,13 @@ public class TodoTaskController extends BaseAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiOperation(value = "删除草稿")
|
||||||
|
@PostMapping("/delCG")
|
||||||
|
public String delCG(@RequestParam("id") String id) {
|
||||||
|
return iBusProcessNameService.delDB(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// @ApiOperation(value = "查询流程信息", notes = "根据流程流程编号查询名称等信息")
|
// @ApiOperation(value = "查询流程信息", notes = "根据流程流程编号查询名称等信息")
|
||||||
// @ApiImplicitParams({@ApiImplicitParam(name = "prcNum", value = "流程编号")})
|
// @ApiImplicitParams({@ApiImplicitParam(name = "prcNum", value = "流程编号")})
|
||||||
// @PostMapping("/findProcessNameByPrcNum")
|
// @PostMapping("/findProcessNameByPrcNum")
|
||||||
|
|||||||
@@ -140,4 +140,16 @@ public interface LawsUserInfoService {
|
|||||||
@PostMapping("/sapMeetInfo/getDateMeeting")
|
@PostMapping("/sapMeetInfo/getDateMeeting")
|
||||||
public int getDateMeeting(@RequestParam("date") @DateTimeFormat(pattern = "yyyy-MM-dd") Date date,@RequestParam("id") String id,@RequestParam("type") int type);
|
public int getDateMeeting(@RequestParam("date") @DateTimeFormat(pattern = "yyyy-MM-dd") Date date,@RequestParam("id") String id,@RequestParam("type") int type);
|
||||||
|
|
||||||
|
@PostMapping("/esRevisePlan/es-revise-plan/modPlanByWk")
|
||||||
|
public ResponseMessage<Object> modPlan(@RequestBody EsRevisePlanDTO esRevisePlan);
|
||||||
|
|
||||||
|
@PostMapping("/esRevisePlan/es-revise-plan/addPlanByWk")
|
||||||
|
public ResponseMessage<Object> addPlan(@RequestBody EsRevisePlanDTO esRevisePlan);
|
||||||
|
|
||||||
|
@GetMapping("/esRevisePlan/es-revise-plan/delPlanByWk")
|
||||||
|
public ResponseMessage<Object> delPlan(@RequestParam("id") String id);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -21,4 +21,7 @@ public interface IBusProcessNameService extends IService<BusProcessName> {
|
|||||||
|
|
||||||
//新查询代办接口 初步测试中
|
//新查询代办接口 初步测试中
|
||||||
List<BusProcessName> todoTask(TaskCommonQuery taskCommonQuery);
|
List<BusProcessName> todoTask(TaskCommonQuery taskCommonQuery);
|
||||||
|
|
||||||
|
|
||||||
|
String delDB(String id);
|
||||||
}
|
}
|
||||||
|
|||||||
+9
@@ -34,4 +34,13 @@ public class BusProcessNameServiceImpl extends ServiceImpl<BusProcessNameMapper,
|
|||||||
return busProcessNameMapper.todoTask(taskCommonQuery);
|
return busProcessNameMapper.todoTask(taskCommonQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String delDB(String id) {
|
||||||
|
if (busProcessNameMapper.deleteById(id)>0) {
|
||||||
|
return "success";
|
||||||
|
}else {
|
||||||
|
return "error";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user