|
|
@@ -219,7 +219,6 @@ public class BusinessRpReportController {
|
|
219
|
219
|
@ApiOperation(value="保存或修改轮换轮换计划", notes = "保存")
|
|
220
|
220
|
public Map<String, Object> add(@RequestBody BusinessRpReport businessRpReport) {
|
|
221
|
221
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
222
|
|
-
|
|
223
|
222
|
try {
|
|
224
|
223
|
|
|
225
|
224
|
modelMap = businessRpReportService.add(businessRpReport);
|
|
|
@@ -255,11 +254,7 @@ public class BusinessRpReportController {
|
|
255
|
254
|
*/
|
|
256
|
255
|
@RequestMapping(value="/removeById",produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.POST)
|
|
257
|
256
|
@ApiOperation(value="删除轮换计划", notes = "保存")
|
|
258
|
|
- @SuppressWarnings("unchecked")
|
|
259
|
|
- @ApiImplicitParams({
|
|
260
|
|
- @ApiImplicitParam(name = "id", value = "轮换计划上报主键Id", paramType = "Strting")
|
|
261
|
|
- })
|
|
262
|
|
- public Map<String, Object> removeById(Integer id)
|
|
|
257
|
+ public Map<String, Object> removeById(@RequestParam("id")Integer id)
|
|
263
|
258
|
throws Exception {
|
|
264
|
259
|
Map<String, Object> modelMap = new HashMap<>();
|
|
265
|
260
|
try {
|