Lius
2024-12-02 009b7912c24c2ef1bc948b5ae8c65ee408053540
update
已修改1个文件
28 ■■■■ 文件已修改
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcPlanCloseController.java 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcPlanCloseController.java
@@ -27,13 +27,13 @@
import io.swagger.annotations.ApiOperation;
/**
 * @Description: mdc(计划/非计划)停机维护表
 * @Description: mdc(计划-非计划)停机维护表
 * @Author: Lius
 * @Date: 2023-07-13
 * @Version: V1.0
 */
@Slf4j
@Api(tags = "mdc(计划/非计划)停机维护表")
@Api(tags = "mdc(计划-非计划)停机维护表")
@RestController
@RequestMapping("/mdc/mdcPlanClose")
public class MdcPlanCloseController extends JeecgController<MdcPlanClose, IMdcPlanCloseService> {
@@ -50,8 +50,8 @@
     * @param req
     * @return
     */
    @AutoLog(value = "mdc(计划/非计划)停机维护表-分页列表查询")
    @ApiOperation(value = "mdc(计划/非计划)停机维护表-分页列表查询", notes = "mdc(计划/非计划)停机维护表-分页列表查询")
    @AutoLog(value = "mdc(计划-非计划)停机维护表-分页列表查询")
    @ApiOperation(value = "mdc(计划-非计划)停机维护表-分页列表查询", notes = "mdc(计划-非计划)停机维护表-分页列表查询")
    @GetMapping(value = "/list")
    public Result<?> queryPageList(MdcPlanCloseVo mdcPlanClose,
                                   @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
@@ -70,8 +70,8 @@
     * @param mdcPlanClose
     * @return
     */
    @AutoLog(value = "mdc(计划/非计划)停机维护表-添加")
    @ApiOperation(value = "mdc(计划/非计划)停机维护表-添加", notes = "mdc(计划/非计划)停机维护表-添加")
    @AutoLog(value = "mdc(计划-非计划)停机维护表-添加")
    @ApiOperation(value = "mdc(计划-非计划)停机维护表-添加", notes = "mdc(计划-非计划)停机维护表-添加")
    @PostMapping(value = "/add")
    public Result<?> add(@RequestBody MdcPlanCloseVo mdcPlanClose) {
        if (StringUtils.isBlank(mdcPlanClose.getEquipmentIds())) {
@@ -90,8 +90,8 @@
     * @param mdcPlanClose
     * @return
     */
    @AutoLog(value = "mdc(计划/非计划)停机维护表-编辑")
    @ApiOperation(value = "mdc(计划/非计划)停机维护表-编辑", notes = "mdc(计划/非计划)停机维护表-编辑")
    @AutoLog(value = "mdc(计划-非计划)停机维护表-编辑")
    @ApiOperation(value = "mdc(计划-非计划)停机维护表-编辑", notes = "mdc(计划-非计划)停机维护表-编辑")
    @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
    public Result<?> edit(@RequestBody MdcPlanClose mdcPlanClose) {
        mdcPlanCloseService.updateById(mdcPlanClose);
@@ -104,8 +104,8 @@
     * @param id
     * @return
     */
    @AutoLog(value = "mdc(计划/非计划)停机维护表-通过id删除")
    @ApiOperation(value = "mdc(计划/非计划)停机维护表-通过id删除", notes = "mdc(计划/非计划)停机维护表-通过id删除")
    @AutoLog(value = "mdc(计划-非计划)停机维护表-通过id删除")
    @ApiOperation(value = "mdc(计划-非计划)停机维护表-通过id删除", notes = "mdc(计划-非计划)停机维护表-通过id删除")
    @DeleteMapping(value = "/delete")
    public Result<?> delete(@RequestParam(name = "id", required = true) String id) {
        mdcPlanCloseService.removeById(id);
@@ -118,8 +118,8 @@
     * @param ids
     * @return
     */
    @AutoLog(value = "mdc(计划/非计划)停机维护表-批量删除")
    @ApiOperation(value = "mdc(计划/非计划)停机维护表-批量删除", notes = "mdc(计划/非计划)停机维护表-批量删除")
    @AutoLog(value = "mdc(计划-非计划)停机维护表-批量删除")
    @ApiOperation(value = "mdc(计划-非计划)停机维护表-批量删除", notes = "mdc(计划-非计划)停机维护表-批量删除")
    @DeleteMapping(value = "/deleteBatch")
    public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
        this.mdcPlanCloseService.removeByIds(Arrays.asList(ids.split(",")));
@@ -132,8 +132,8 @@
     * @param id
     * @return
     */
    @AutoLog(value = "mdc(计划/非计划)停机维护表-通过id查询")
    @ApiOperation(value = "mdc(计划/非计划)停机维护表-通过id查询", notes = "mdc(计划/非计划)停机维护表-通过id查询")
    @AutoLog(value = "mdc(计划-非计划)停机维护表-通过id查询")
    @ApiOperation(value = "mdc(计划-非计划)停机维护表-通过id查询", notes = "mdc(计划-非计划)停机维护表-通过id查询")
    @GetMapping(value = "/queryById")
    public Result<?> queryById(@RequestParam(name = "id", required = true) String id) {
        MdcPlanClose mdcPlanClose = mdcPlanCloseService.getById(id);