|
|
@ -28,6 +28,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import javax.validation.Valid;
|
|
|
|
import javax.validation.Valid;
|
|
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -198,9 +199,10 @@ public class BPlanEnterpriseController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 批量更新状态
|
|
|
|
* 批量更新状态
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ApiOperation(value = "查看计划明细")
|
|
|
|
@ApiOperation(value = "批量更新状态")
|
|
|
|
@PostMapping("/updateIdList")
|
|
|
|
@GetMapping("/updateIdList")
|
|
|
|
public AjaxResult updateIdList(String[] idList) {
|
|
|
|
public AjaxResult updateIdList(@RequestParam("idListStr") String idListStr) {
|
|
|
|
|
|
|
|
List<String> idList = Arrays.asList(idListStr.split(","));
|
|
|
|
bPlanEnterpriseService.updateIdList(idList);
|
|
|
|
bPlanEnterpriseService.updateIdList(idList);
|
|
|
|
return AjaxResult.success();
|
|
|
|
return AjaxResult.success();
|
|
|
|
}
|
|
|
|
}
|
|
|
|