¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.modules.eam.entity.EamSparePartInventory; |
| | | import org.jeecg.modules.eam.service.IEamSparePartInventoryService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶åºåä¿¡æ¯ |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "å¤ä»¶åºåä¿¡æ¯") |
| | | @RestController |
| | | @RequestMapping("/eam/eamSparePartInventory") |
| | | public class EamSparePartInventoryController extends JeecgController<EamSparePartInventory, IEamSparePartInventoryService> { |
| | | |
| | | @Resource |
| | | private IEamSparePartInventoryService eamSparePartInventoryService; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | | * |
| | | * @param eamSparePartInventory |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶åºåä¿¡æ¯-å页å表æ¥è¯¢") |
| | | @ApiOperation(value = "å¤ä»¶åºåä¿¡æ¯-å页å表æ¥è¯¢", notes = "å¤ä»¶åºåä¿¡æ¯-å页å表æ¥è¯¢") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSparePartInventory eamSparePartInventory, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
| | | HttpServletRequest req) { |
| | | QueryWrapper<EamSparePartInventory> queryWrapper = QueryGenerator.initQueryWrapper(eamSparePartInventory, req.getParameterMap()); |
| | | Page<EamSparePartInventory> page = new Page<EamSparePartInventory>(pageNo, pageSize); |
| | | IPage<EamSparePartInventory> pageList = eamSparePartInventoryService.page(page, queryWrapper); |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å |
| | | * |
| | | * @param eamSparePartInventory |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶åºåä¿¡æ¯-æ·»å ") |
| | | @ApiOperation(value = "å¤ä»¶åºåä¿¡æ¯-æ·»å ", notes = "å¤ä»¶åºåä¿¡æ¯-æ·»å ") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSparePartInventory eamSparePartInventory) { |
| | | eamSparePartInventoryService.save(eamSparePartInventory); |
| | | return Result.OK("æ·»å æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param eamSparePartInventory |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶åºåä¿¡æ¯-ç¼è¾") |
| | | @ApiOperation(value = "å¤ä»¶åºåä¿¡æ¯-ç¼è¾", notes = "å¤ä»¶åºåä¿¡æ¯-ç¼è¾") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSparePartInventory eamSparePartInventory) { |
| | | eamSparePartInventoryService.updateById(eamSparePartInventory); |
| | | return Result.OK("ç¼è¾æå!"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idå é¤ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶åºåä¿¡æ¯-éè¿idå é¤") |
| | | @ApiOperation(value = "å¤ä»¶åºåä¿¡æ¯-éè¿idå é¤", notes = "å¤ä»¶åºåä¿¡æ¯-éè¿idå é¤") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | | eamSparePartInventoryService.removeById(id); |
| | | return Result.OK("å 餿å!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶åºåä¿¡æ¯-æ¹éå é¤") |
| | | @ApiOperation(value = "å¤ä»¶åºåä¿¡æ¯-æ¹éå é¤", notes = "å¤ä»¶åºåä¿¡æ¯-æ¹éå é¤") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | this.eamSparePartInventoryService.removeByIds(Arrays.asList(ids.split(","))); |
| | | return Result.OK("æ¹éå 餿åï¼"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶åºåä¿¡æ¯-éè¿idæ¥è¯¢") |
| | | @ApiOperation(value = "å¤ä»¶åºåä¿¡æ¯-éè¿idæ¥è¯¢", notes = "å¤ä»¶åºåä¿¡æ¯-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamSparePartInventory eamSparePartInventory = eamSparePartInventoryService.getById(id); |
| | | return Result.OK(eamSparePartInventory); |
| | | } |
| | | |
| | | /** |
| | | * 导åºexcel |
| | | * |
| | | * @param request |
| | | * @param eamSparePartInventory |
| | | */ |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, EamSparePartInventory eamSparePartInventory) { |
| | | return super.exportXls(request, eamSparePartInventory, EamSparePartInventory.class, "å¤ä»¶åºåä¿¡æ¯"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿excel导å
¥æ°æ® |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, EamSparePartInventory.class); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceive; |
| | | import org.jeecg.modules.eam.service.IEamSparePartReceiveService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶é¢ç¨å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "å¤åå¤ä»¶é¢ç¨å") |
| | | @RestController |
| | | @RequestMapping("/eam/eamSparePartReceive") |
| | | public class EamSparePartReceiveController extends JeecgController<EamSparePartReceive, IEamSparePartReceiveService> { |
| | | |
| | | @Resource |
| | | private IEamSparePartReceiveService eamSparePartReceiveService; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | | * |
| | | * @param eamSparePartReceive |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶é¢ç¨å-å页å表æ¥è¯¢") |
| | | @ApiOperation(value = "å¤åå¤ä»¶é¢ç¨å-å页å表æ¥è¯¢", notes = "å¤åå¤ä»¶é¢ç¨å-å页å表æ¥è¯¢") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSparePartReceive eamSparePartReceive, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
| | | HttpServletRequest req) { |
| | | QueryWrapper<EamSparePartReceive> queryWrapper = QueryGenerator.initQueryWrapper(eamSparePartReceive, req.getParameterMap()); |
| | | Page<EamSparePartReceive> page = new Page<EamSparePartReceive>(pageNo, pageSize); |
| | | IPage<EamSparePartReceive> pageList = eamSparePartReceiveService.page(page, queryWrapper); |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å |
| | | * |
| | | * @param eamSparePartReceive |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶é¢ç¨å-æ·»å ") |
| | | @ApiOperation(value = "å¤åå¤ä»¶é¢ç¨å-æ·»å ", notes = "å¤åå¤ä»¶é¢ç¨å-æ·»å ") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSparePartReceive eamSparePartReceive) { |
| | | eamSparePartReceiveService.save(eamSparePartReceive); |
| | | return Result.OK("æ·»å æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param eamSparePartReceive |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶é¢ç¨å-ç¼è¾") |
| | | @ApiOperation(value = "å¤åå¤ä»¶é¢ç¨å-ç¼è¾", notes = "å¤åå¤ä»¶é¢ç¨å-ç¼è¾") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSparePartReceive eamSparePartReceive) { |
| | | eamSparePartReceiveService.updateById(eamSparePartReceive); |
| | | return Result.OK("ç¼è¾æå!"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idå é¤ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶é¢ç¨å-éè¿idå é¤") |
| | | @ApiOperation(value = "å¤åå¤ä»¶é¢ç¨å-éè¿idå é¤", notes = "å¤åå¤ä»¶é¢ç¨å-éè¿idå é¤") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | | eamSparePartReceiveService.removeById(id); |
| | | return Result.OK("å 餿å!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶é¢ç¨å-æ¹éå é¤") |
| | | @ApiOperation(value = "å¤åå¤ä»¶é¢ç¨å-æ¹éå é¤", notes = "å¤åå¤ä»¶é¢ç¨å-æ¹éå é¤") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | this.eamSparePartReceiveService.removeByIds(Arrays.asList(ids.split(","))); |
| | | return Result.OK("æ¹éå 餿åï¼"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶é¢ç¨å-éè¿idæ¥è¯¢") |
| | | @ApiOperation(value = "å¤åå¤ä»¶é¢ç¨å-éè¿idæ¥è¯¢", notes = "å¤åå¤ä»¶é¢ç¨å-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamSparePartReceive eamSparePartReceive = eamSparePartReceiveService.getById(id); |
| | | return Result.OK(eamSparePartReceive); |
| | | } |
| | | |
| | | /** |
| | | * 导åºexcel |
| | | * |
| | | * @param request |
| | | * @param eamSparePartReceive |
| | | */ |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, EamSparePartReceive eamSparePartReceive) { |
| | | return super.exportXls(request, eamSparePartReceive, EamSparePartReceive.class, "å¤åå¤ä»¶é¢ç¨å"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿excel导å
¥æ°æ® |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, EamSparePartReceive.class); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceiveDetail; |
| | | import org.jeecg.modules.eam.service.IEamSparePartReceiveDetailService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description: é¢ç¨åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "é¢ç¨åæç»") |
| | | @RestController |
| | | @RequestMapping("/eam/eamSparePartReceiveDetail") |
| | | public class EamSparePartReceiveDetailController extends JeecgController<EamSparePartReceiveDetail, IEamSparePartReceiveDetailService> { |
| | | |
| | | @Resource |
| | | private IEamSparePartReceiveDetailService eamSparePartReceiveDetailService; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | | * |
| | | * @param eamSparePartReceiveDetail |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "é¢ç¨åæç»-å页å表æ¥è¯¢") |
| | | @ApiOperation(value = "é¢ç¨åæç»-å页å表æ¥è¯¢", notes = "é¢ç¨åæç»-å页å表æ¥è¯¢") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSparePartReceiveDetail eamSparePartReceiveDetail, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
| | | HttpServletRequest req) { |
| | | QueryWrapper<EamSparePartReceiveDetail> queryWrapper = QueryGenerator.initQueryWrapper(eamSparePartReceiveDetail, req.getParameterMap()); |
| | | Page<EamSparePartReceiveDetail> page = new Page<EamSparePartReceiveDetail>(pageNo, pageSize); |
| | | IPage<EamSparePartReceiveDetail> pageList = eamSparePartReceiveDetailService.page(page, queryWrapper); |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å |
| | | * |
| | | * @param eamSparePartReceiveDetail |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "é¢ç¨åæç»-æ·»å ") |
| | | @ApiOperation(value = "é¢ç¨åæç»-æ·»å ", notes = "é¢ç¨åæç»-æ·»å ") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSparePartReceiveDetail eamSparePartReceiveDetail) { |
| | | eamSparePartReceiveDetailService.save(eamSparePartReceiveDetail); |
| | | return Result.OK("æ·»å æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param eamSparePartReceiveDetail |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "é¢ç¨åæç»-ç¼è¾") |
| | | @ApiOperation(value = "é¢ç¨åæç»-ç¼è¾", notes = "é¢ç¨åæç»-ç¼è¾") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSparePartReceiveDetail eamSparePartReceiveDetail) { |
| | | eamSparePartReceiveDetailService.updateById(eamSparePartReceiveDetail); |
| | | return Result.OK("ç¼è¾æå!"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idå é¤ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "é¢ç¨åæç»-éè¿idå é¤") |
| | | @ApiOperation(value = "é¢ç¨åæç»-éè¿idå é¤", notes = "é¢ç¨åæç»-éè¿idå é¤") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | | eamSparePartReceiveDetailService.removeById(id); |
| | | return Result.OK("å 餿å!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "é¢ç¨åæç»-æ¹éå é¤") |
| | | @ApiOperation(value = "é¢ç¨åæç»-æ¹éå é¤", notes = "é¢ç¨åæç»-æ¹éå é¤") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | this.eamSparePartReceiveDetailService.removeByIds(Arrays.asList(ids.split(","))); |
| | | return Result.OK("æ¹éå 餿åï¼"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "é¢ç¨åæç»-éè¿idæ¥è¯¢") |
| | | @ApiOperation(value = "é¢ç¨åæç»-éè¿idæ¥è¯¢", notes = "é¢ç¨åæç»-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamSparePartReceiveDetail eamSparePartReceiveDetail = eamSparePartReceiveDetailService.getById(id); |
| | | return Result.OK(eamSparePartReceiveDetail); |
| | | } |
| | | |
| | | /** |
| | | * 导åºexcel |
| | | * |
| | | * @param request |
| | | * @param eamSparePartReceiveDetail |
| | | */ |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, EamSparePartReceiveDetail eamSparePartReceiveDetail) { |
| | | return super.exportXls(request, eamSparePartReceiveDetail, EamSparePartReceiveDetail.class, "é¢ç¨åæç»"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿excel导å
¥æ°æ® |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, EamSparePartReceiveDetail.class); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.common.util.DateUtils; |
| | | import org.jeecg.modules.eam.constant.BusinessCodeConst; |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisition; |
| | | import org.jeecg.modules.eam.service.IEamSparePartRequisitionService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | |
| | | import org.jeecg.modules.system.service.ISysBusinessCodeRuleService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶è¯·è´å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "å¤ä»¶è¯·è´å") |
| | | @RestController |
| | | @RequestMapping("/eam/eamSparePartRequisition") |
| | | public class EamSparePartRequisitionController extends JeecgController<EamSparePartRequisition, IEamSparePartRequisitionService> { |
| | | |
| | | @Resource |
| | | private IEamSparePartRequisitionService eamSparePartRequisitionService; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | | * |
| | | * @param eamSparePartRequisition |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-å页å表æ¥è¯¢") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-å页å表æ¥è¯¢", notes = "å¤ä»¶è¯·è´å-å页å表æ¥è¯¢") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSparePartRequisition eamSparePartRequisition, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
| | | HttpServletRequest req) { |
| | | QueryWrapper<EamSparePartRequisition> queryWrapper = QueryGenerator.initQueryWrapper(eamSparePartRequisition, req.getParameterMap()); |
| | | Page<EamSparePartRequisition> page = new Page<EamSparePartRequisition>(pageNo, pageSize); |
| | | IPage<EamSparePartRequisition> pageList = eamSparePartRequisitionService.page(page, queryWrapper); |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å |
| | | * |
| | | * @param eamSparePartRequisition |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-æ·»å ") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-æ·»å ", notes = "å¤ä»¶è¯·è´å-æ·»å ") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSparePartRequisition eamSparePartRequisition) { |
| | | eamSparePartRequisition.setRequisitionStatus(BusinessCodeConst.SPARE_REQUISITION_STATUS_1); |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String realName = user.getRealname(); |
| | | eamSparePartRequisition.setReportUser(realName); |
| | | eamSparePartRequisitionService.save(eamSparePartRequisition); |
| | | return Result.OK("æ·»å æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param eamSparePartRequisition |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-ç¼è¾") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-ç¼è¾", notes = "å¤ä»¶è¯·è´å-ç¼è¾") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSparePartRequisition eamSparePartRequisition) { |
| | | eamSparePartRequisitionService.updateById(eamSparePartRequisition); |
| | | return Result.OK("ç¼è¾æå!"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idå é¤ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-éè¿idå é¤") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-éè¿idå é¤", notes = "å¤ä»¶è¯·è´å-éè¿idå é¤") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | | eamSparePartRequisitionService.removeById(id); |
| | | return Result.OK("å 餿å!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-æ¹éå é¤") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-æ¹éå é¤", notes = "å¤ä»¶è¯·è´å-æ¹éå é¤") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | this.eamSparePartRequisitionService.removeByIds(Arrays.asList(ids.split(","))); |
| | | return Result.OK("æ¹éå 餿åï¼"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-éè¿idæ¥è¯¢") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-éè¿idæ¥è¯¢", notes = "å¤ä»¶è¯·è´å-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamSparePartRequisition eamSparePartRequisition = eamSparePartRequisitionService.getById(id); |
| | | return Result.OK(eamSparePartRequisition); |
| | | } |
| | | |
| | | /** |
| | | * 导åºexcel |
| | | * |
| | | * @param request |
| | | * @param eamSparePartRequisition |
| | | */ |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, EamSparePartRequisition eamSparePartRequisition) { |
| | | return super.exportXls(request, eamSparePartRequisition, EamSparePartRequisition.class, "å¤ä»¶è¯·è´å"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿excel导å
¥æ°æ® |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, EamSparePartRequisition.class); |
| | | } |
| | | |
| | | /** |
| | | * æäº¤è¯·è´å |
| | | * |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-æäº¤è¯·è´å") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-æäº¤è¯·è´å", notes = "å¤ä»¶è¯·è´å-æäº¤è¯·è´å") |
| | | @PostMapping(value = "/submitSpareRequisition") |
| | | public Result<?> submitSpareRequisition(@RequestBody EamSparePartRequisition eamSparePartRequisition) { |
| | | eamSparePartRequisition.setRequisitionStatus(BusinessCodeConst.SPARE_REQUISITION_STATUS_2); |
| | | eamSparePartRequisitionService.updateById(eamSparePartRequisition); |
| | | return Result.OK("æäº¤æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * å®¡æ ¸è¯·è´å |
| | | * |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶è¯·è´å-å®¡æ ¸è¯·è´å") |
| | | @ApiOperation(value = "å¤ä»¶è¯·è´å-å®¡æ ¸è¯·è´å", notes = "å¤ä»¶è¯·è´å-å®¡æ ¸è¯·è´å") |
| | | @PostMapping(value = "/examineSpareRequisition") |
| | | public Result<?> examineSpareRequisition(@RequestBody EamSparePartRequisition eamSparePartRequisition) { |
| | | String title = ""; |
| | | switch (eamSparePartRequisition.getRequisitionStatus()) { |
| | | case BusinessCodeConst.SPARE_REQUISITION_STATUS_3: |
| | | title = "éè¿"; |
| | | break; |
| | | case BusinessCodeConst.SPARE_REQUISITION_STATUS_4: |
| | | title = "驳å"; |
| | | break; |
| | | } |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String realName = user.getRealname(); |
| | | eamSparePartRequisition.setApprovalUser(realName); |
| | | eamSparePartRequisition.setApprovalTime(DateUtils.getDate()); |
| | | eamSparePartRequisitionService.updateById(eamSparePartRequisition); |
| | | return Result.OK(title + "æåï¼"); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisitionDetail; |
| | | import org.jeecg.modules.eam.service.IEamSparePartRequisitionDetailService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶æ¸
è´åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "å¤ä»¶æ¸
è´åæç»") |
| | | @RestController |
| | | @RequestMapping("/eam/eamSparePartRequisitionDetail") |
| | | public class EamSparePartRequisitionDetailController extends JeecgController<EamSparePartRequisitionDetail, IEamSparePartRequisitionDetailService> { |
| | | |
| | | @Resource |
| | | private IEamSparePartRequisitionDetailService eamSparePartRequisitionDetailService; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | | * |
| | | * @param eamSparePartRequisitionDetail |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶æ¸
è´åæç»-å页å表æ¥è¯¢") |
| | | @ApiOperation(value = "å¤ä»¶æ¸
è´åæç»-å页å表æ¥è¯¢", notes = "å¤ä»¶æ¸
è´åæç»-å页å表æ¥è¯¢") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSparePartRequisitionDetail eamSparePartRequisitionDetail, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
| | | HttpServletRequest req) { |
| | | QueryWrapper<EamSparePartRequisitionDetail> queryWrapper = QueryGenerator.initQueryWrapper(eamSparePartRequisitionDetail, req.getParameterMap()); |
| | | Page<EamSparePartRequisitionDetail> page = new Page<EamSparePartRequisitionDetail>(pageNo, pageSize); |
| | | IPage<EamSparePartRequisitionDetail> pageList = eamSparePartRequisitionDetailService.page(page, queryWrapper); |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å |
| | | * |
| | | * @param eamSparePartRequisitionDetail |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶æ¸
è´åæç»-æ·»å ") |
| | | @ApiOperation(value = "å¤ä»¶æ¸
è´åæç»-æ·»å ", notes = "å¤ä»¶æ¸
è´åæç»-æ·»å ") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSparePartRequisitionDetail eamSparePartRequisitionDetail) { |
| | | eamSparePartRequisitionDetailService.save(eamSparePartRequisitionDetail); |
| | | return Result.OK("æ·»å æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param eamSparePartRequisitionDetail |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶æ¸
è´åæç»-ç¼è¾") |
| | | @ApiOperation(value = "å¤ä»¶æ¸
è´åæç»-ç¼è¾", notes = "å¤ä»¶æ¸
è´åæç»-ç¼è¾") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSparePartRequisitionDetail eamSparePartRequisitionDetail) { |
| | | eamSparePartRequisitionDetailService.updateById(eamSparePartRequisitionDetail); |
| | | return Result.OK("ç¼è¾æå!"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idå é¤ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶æ¸
è´åæç»-éè¿idå é¤") |
| | | @ApiOperation(value = "å¤ä»¶æ¸
è´åæç»-éè¿idå é¤", notes = "å¤ä»¶æ¸
è´åæç»-éè¿idå é¤") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | | eamSparePartRequisitionDetailService.removeById(id); |
| | | return Result.OK("å 餿å!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶æ¸
è´åæç»-æ¹éå é¤") |
| | | @ApiOperation(value = "å¤ä»¶æ¸
è´åæç»-æ¹éå é¤", notes = "å¤ä»¶æ¸
è´åæç»-æ¹éå é¤") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | this.eamSparePartRequisitionDetailService.removeByIds(Arrays.asList(ids.split(","))); |
| | | return Result.OK("æ¹éå 餿åï¼"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤ä»¶æ¸
è´åæç»-éè¿idæ¥è¯¢") |
| | | @ApiOperation(value = "å¤ä»¶æ¸
è´åæç»-éè¿idæ¥è¯¢", notes = "å¤ä»¶æ¸
è´åæç»-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamSparePartRequisitionDetail eamSparePartRequisitionDetail = eamSparePartRequisitionDetailService.getById(id); |
| | | return Result.OK(eamSparePartRequisitionDetail); |
| | | } |
| | | |
| | | /** |
| | | * 导åºexcel |
| | | * |
| | | * @param request |
| | | * @param eamSparePartRequisitionDetail |
| | | */ |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, EamSparePartRequisitionDetail eamSparePartRequisitionDetail) { |
| | | return super.exportXls(request, eamSparePartRequisitionDetail, EamSparePartRequisitionDetail.class, "å¤ä»¶æ¸
è´åæç»"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿excel导å
¥æ°æ® |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, EamSparePartRequisitionDetail.class); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.modules.eam.entity.EamSparePartScrap; |
| | | import org.jeecg.modules.eam.service.IEamSparePartScrapService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶æ¥åº |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "å¤åå¤ä»¶æ¥åº") |
| | | @RestController |
| | | @RequestMapping("/eam/eamSparePartScrap") |
| | | public class EamSparePartScrapController extends JeecgController<EamSparePartScrap, IEamSparePartScrapService> { |
| | | |
| | | @Resource |
| | | private IEamSparePartScrapService eamSparePartScrapService; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | | * |
| | | * @param eamSparePartScrap |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶æ¥åº-å页å表æ¥è¯¢") |
| | | @ApiOperation(value = "å¤åå¤ä»¶æ¥åº-å页å表æ¥è¯¢", notes = "å¤åå¤ä»¶æ¥åº-å页å表æ¥è¯¢") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSparePartScrap eamSparePartScrap, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
| | | HttpServletRequest req) { |
| | | QueryWrapper<EamSparePartScrap> queryWrapper = QueryGenerator.initQueryWrapper(eamSparePartScrap, req.getParameterMap()); |
| | | Page<EamSparePartScrap> page = new Page<EamSparePartScrap>(pageNo, pageSize); |
| | | IPage<EamSparePartScrap> pageList = eamSparePartScrapService.page(page, queryWrapper); |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å |
| | | * |
| | | * @param eamSparePartScrap |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶æ¥åº-æ·»å ") |
| | | @ApiOperation(value = "å¤åå¤ä»¶æ¥åº-æ·»å ", notes = "å¤åå¤ä»¶æ¥åº-æ·»å ") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSparePartScrap eamSparePartScrap) { |
| | | eamSparePartScrapService.save(eamSparePartScrap); |
| | | return Result.OK("æ·»å æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param eamSparePartScrap |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶æ¥åº-ç¼è¾") |
| | | @ApiOperation(value = "å¤åå¤ä»¶æ¥åº-ç¼è¾", notes = "å¤åå¤ä»¶æ¥åº-ç¼è¾") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSparePartScrap eamSparePartScrap) { |
| | | eamSparePartScrapService.updateById(eamSparePartScrap); |
| | | return Result.OK("ç¼è¾æå!"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idå é¤ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶æ¥åº-éè¿idå é¤") |
| | | @ApiOperation(value = "å¤åå¤ä»¶æ¥åº-éè¿idå é¤", notes = "å¤åå¤ä»¶æ¥åº-éè¿idå é¤") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | | eamSparePartScrapService.removeById(id); |
| | | return Result.OK("å 餿å!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶æ¥åº-æ¹éå é¤") |
| | | @ApiOperation(value = "å¤åå¤ä»¶æ¥åº-æ¹éå é¤", notes = "å¤åå¤ä»¶æ¥åº-æ¹éå é¤") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | this.eamSparePartScrapService.removeByIds(Arrays.asList(ids.split(","))); |
| | | return Result.OK("æ¹éå 餿åï¼"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶æ¥åº-éè¿idæ¥è¯¢") |
| | | @ApiOperation(value = "å¤åå¤ä»¶æ¥åº-éè¿idæ¥è¯¢", notes = "å¤åå¤ä»¶æ¥åº-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamSparePartScrap eamSparePartScrap = eamSparePartScrapService.getById(id); |
| | | return Result.OK(eamSparePartScrap); |
| | | } |
| | | |
| | | /** |
| | | * 导åºexcel |
| | | * |
| | | * @param request |
| | | * @param eamSparePartScrap |
| | | */ |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, EamSparePartScrap eamSparePartScrap) { |
| | | return super.exportXls(request, eamSparePartScrap, EamSparePartScrap.class, "å¤åå¤ä»¶æ¥åº"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿excel导å
¥æ°æ® |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, EamSparePartScrap.class); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.system.query.QueryGenerator; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.modules.eam.entity.EamSpareParts; |
| | | import org.jeecg.modules.eam.service.IEamSparePartsService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶ç®¡ç |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = "å¤åå¤ä»¶ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/eam/eamSpareParts") |
| | | public class EamSparePartsController extends JeecgController<EamSpareParts, IEamSparePartsService> { |
| | | |
| | | @Resource |
| | | private IEamSparePartsService eamSparePartsService; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | | * |
| | | * @param eamSpareParts |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶ç®¡ç-å页å表æ¥è¯¢") |
| | | @ApiOperation(value = "å¤åå¤ä»¶ç®¡ç-å页å表æ¥è¯¢", notes = "å¤åå¤ä»¶ç®¡ç-å页å表æ¥è¯¢") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSpareParts eamSpareParts, |
| | | @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
| | | HttpServletRequest req) { |
| | | QueryWrapper<EamSpareParts> queryWrapper = QueryGenerator.initQueryWrapper(eamSpareParts, req.getParameterMap()); |
| | | Page<EamSpareParts> page = new Page<EamSpareParts>(pageNo, pageSize); |
| | | IPage<EamSpareParts> pageList = eamSparePartsService.page(page, queryWrapper); |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å |
| | | * |
| | | * @param eamSpareParts |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶ç®¡ç-æ·»å ") |
| | | @ApiOperation(value = "å¤åå¤ä»¶ç®¡ç-æ·»å ", notes = "å¤åå¤ä»¶ç®¡ç-æ·»å ") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSpareParts eamSpareParts) { |
| | | eamSparePartsService.save(eamSpareParts); |
| | | return Result.OK("æ·»å æåï¼"); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param eamSpareParts |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶ç®¡ç-ç¼è¾") |
| | | @ApiOperation(value = "å¤åå¤ä»¶ç®¡ç-ç¼è¾", notes = "å¤åå¤ä»¶ç®¡ç-ç¼è¾") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSpareParts eamSpareParts) { |
| | | eamSparePartsService.updateById(eamSpareParts); |
| | | return Result.OK("ç¼è¾æå!"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idå é¤ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶ç®¡ç-éè¿idå é¤") |
| | | @ApiOperation(value = "å¤åå¤ä»¶ç®¡ç-éè¿idå é¤", notes = "å¤åå¤ä»¶ç®¡ç-éè¿idå é¤") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | | eamSparePartsService.removeById(id); |
| | | return Result.OK("å 餿å!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤ |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶ç®¡ç-æ¹éå é¤") |
| | | @ApiOperation(value = "å¤åå¤ä»¶ç®¡ç-æ¹éå é¤", notes = "å¤åå¤ä»¶ç®¡ç-æ¹éå é¤") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | this.eamSparePartsService.removeByIds(Arrays.asList(ids.split(","))); |
| | | return Result.OK("æ¹éå 餿åï¼"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢ |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¤åå¤ä»¶ç®¡ç-éè¿idæ¥è¯¢") |
| | | @ApiOperation(value = "å¤åå¤ä»¶ç®¡ç-éè¿idæ¥è¯¢", notes = "å¤åå¤ä»¶ç®¡ç-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamSpareParts eamSpareParts = eamSparePartsService.getById(id); |
| | | return Result.OK(eamSpareParts); |
| | | } |
| | | |
| | | /** |
| | | * 导åºexcel |
| | | * |
| | | * @param request |
| | | * @param eamSpareParts |
| | | */ |
| | | @RequestMapping(value = "/exportXls") |
| | | public ModelAndView exportXls(HttpServletRequest request, EamSpareParts eamSpareParts) { |
| | | return super.exportXls(request, eamSpareParts, EamSpareParts.class, "å¤åå¤ä»¶ç®¡ç"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿excel导å
¥æ°æ® |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/importExcel", method = RequestMethod.POST) |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, EamSpareParts.class); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶åºåä¿¡æ¯ |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_spare_part_inventory") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_spare_part_inventory对象", description = "å¤ä»¶åºåä¿¡æ¯") |
| | | public class EamSparePartInventory extends JeecgEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1962184771830391956L; |
| | | |
| | | /** |
| | | * å¤åå¤ä»¶ID |
| | | */ |
| | | @Excel(name = "å¤åå¤ä»¶ID", width = 15) |
| | | @ApiModelProperty(value = "å¤åå¤ä»¶ID") |
| | | private String sparePartId; |
| | | /** |
| | | * æ¹æ¬¡å· |
| | | */ |
| | | @Excel(name = "æ¹æ¬¡å·", width = 15) |
| | | @ApiModelProperty(value = "æ¹æ¬¡å·") |
| | | private String batchNum; |
| | | /** |
| | | * åºåæ°é |
| | | */ |
| | | @Excel(name = "åºåæ°é", width = 15) |
| | | @ApiModelProperty(value = "åºåæ°é") |
| | | private BigDecimal inventory; |
| | | /** |
| | | * åºåæ¥æ(çäº§æ¥æ) |
| | | */ |
| | | @ApiModelProperty(value = "åºåæ¥æ(çäº§æ¥æ)") |
| | | private java.util.Date manufactureDate; |
| | | /** |
| | | * ä¾åºå |
| | | */ |
| | | @Excel(name = "ä¾åºå", width = 15) |
| | | @ApiModelProperty(value = "ä¾åºå") |
| | | private String supplier; |
| | | /** |
| | | * æªæ¢æææ |
| | | */ |
| | | @ApiModelProperty(value = "æªæ¢æææ") |
| | | private Date expirationOfValidity; |
| | | /** |
| | | * åæ¾ä½ç½® |
| | | */ |
| | | @Excel(name = "åæ¾ä½ç½®", width = 15) |
| | | @ApiModelProperty(value = "åæ¾ä½ç½®") |
| | | private String location; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶é¢ç¨å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_spare_part_receive") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_spare_part_receive对象", description = "å¤åå¤ä»¶é¢ç¨å") |
| | | public class EamSparePartReceive extends JeecgEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -2608456668705754350L; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @Excel(name = "å 餿 è®°", width = 15) |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Integer delFlag; |
| | | /** |
| | | * é¢ç¨åç¼ç |
| | | */ |
| | | @Excel(name = "é¢ç¨åç¼ç ", width = 15) |
| | | @ApiModelProperty(value = "é¢ç¨åç¼ç ") |
| | | private String receiveCode; |
| | | /** |
| | | * é¢ç¨äºº |
| | | */ |
| | | @Excel(name = "é¢ç¨äºº", width = 15) |
| | | @ApiModelProperty(value = "é¢ç¨äºº") |
| | | private String receiveUser; |
| | | /** |
| | | * é¢ç¨äºç± |
| | | */ |
| | | @Excel(name = "é¢ç¨äºç±", width = 15) |
| | | @ApiModelProperty(value = "é¢ç¨äºç±") |
| | | private String receiveReason; |
| | | /** |
| | | * é¢ç¨ç¶æ |
| | | */ |
| | | @Excel(name = "é¢ç¨ç¶æ", width = 15) |
| | | @ApiModelProperty(value = "é¢ç¨ç¶æ") |
| | | private String receiveStatus; |
| | | /** |
| | | * æ¯å¦éè¦å½è¿;æ¯ï¼åå¨å½è¿å¨ä½ï¼å¦ï¼ç´æ¥å®æ |
| | | */ |
| | | @Excel(name = "æ¯å¦éè¦å½è¿;æ¯ï¼åå¨å½è¿å¨ä½ï¼å¦ï¼ç´æ¥å®æ", width = 15) |
| | | @ApiModelProperty(value = "æ¯å¦éè¦å½è¿;æ¯ï¼åå¨å½è¿å¨ä½ï¼å¦ï¼ç´æ¥å®æ") |
| | | private String giveBackFlag; |
| | | /** |
| | | * å®¡æ ¸äºº |
| | | */ |
| | | @Excel(name = "å®¡æ ¸äºº", width = 15) |
| | | @ApiModelProperty(value = "å®¡æ ¸äºº") |
| | | private String approvalUser; |
| | | /** |
| | | * å®¡æ ¸æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "å®¡æ ¸æ¶é´") |
| | | private Date approvalTime; |
| | | /** |
| | | * 夿³¨ |
| | | */ |
| | | @Excel(name = "夿³¨", width = 15) |
| | | @ApiModelProperty(value = "夿³¨") |
| | | private String remark; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * @Description: é¢ç¨åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_spare_part_receive_detail") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_spare_part_receive_detail对象", description = "é¢ç¨åæç»") |
| | | public class EamSparePartReceiveDetail extends JeecgEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 4790367185857247702L; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @Excel(name = "å 餿 è®°", width = 15) |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Integer delFlag; |
| | | /** |
| | | * å¤ä»¶ID |
| | | */ |
| | | @Excel(name = "å¤ä»¶ID", width = 15) |
| | | @ApiModelProperty(value = "å¤ä»¶ID") |
| | | private String partId; |
| | | /** |
| | | * é¢ç¨/å½è¿æ°é |
| | | */ |
| | | @Excel(name = "é¢ç¨/å½è¿æ°é", width = 15) |
| | | @ApiModelProperty(value = "é¢ç¨/å½è¿æ°é") |
| | | private BigDecimal receiveNum; |
| | | /** |
| | | * é¢ç¨ç±»å;é¢ç¨/å½è¿ |
| | | */ |
| | | @Excel(name = "é¢ç¨ç±»å;é¢ç¨/å½è¿", width = 15) |
| | | @ApiModelProperty(value = "é¢ç¨ç±»å;é¢ç¨/å½è¿") |
| | | private String receiveType; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶è¯·è´å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_spare_part_requisition") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_spare_part_requisition对象", description = "å¤ä»¶è¯·è´å") |
| | | public class EamSparePartRequisition extends JeecgEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -189239897318395477L; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @Excel(name = "å 餿 è®°", width = 15) |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Integer delFlag; |
| | | /** |
| | | * 请è´åç¼ç |
| | | */ |
| | | @Excel(name = "请è´åç¼ç ", width = 15) |
| | | @ApiModelProperty(value = "请è´åç¼ç ") |
| | | private String requisitionCode; |
| | | /** |
| | | * ç³è¯·äºº |
| | | */ |
| | | @Excel(name = "ç³è¯·äºº", width = 15) |
| | | @ApiModelProperty(value = "ç³è¯·äºº") |
| | | private String reportUser; |
| | | /** |
| | | * 请è´ç¶æ |
| | | */ |
| | | @Excel(name = "请è´ç¶æ", width = 15) |
| | | @ApiModelProperty(value = "请è´ç¶æ") |
| | | @Dict(dicCode = "spare_requisition_status") |
| | | private String requisitionStatus; |
| | | /** |
| | | * å®¡æ ¸äºº |
| | | */ |
| | | @Excel(name = "å®¡æ ¸äºº", width = 15) |
| | | @ApiModelProperty(value = "å®¡æ ¸äºº") |
| | | private String approvalUser; |
| | | /** |
| | | * å®¡æ ¸æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "å®¡æ ¸æ¶é´") |
| | | private Date approvalTime; |
| | | /** |
| | | * 夿³¨ |
| | | */ |
| | | @Excel(name = "夿³¨", width = 15) |
| | | @ApiModelProperty(value = "夿³¨") |
| | | private String remark; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶æ¸
è´åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_spare_part_requisition_detail") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_spare_part_requisition_detail对象", description = "å¤ä»¶æ¸
è´åæç»") |
| | | public class EamSparePartRequisitionDetail extends JeecgEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -1939175541515897351L; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @Excel(name = "å 餿 è®°", width = 15) |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Integer delFlag; |
| | | /** |
| | | * å¤ä»¶è¯·è´åID |
| | | */ |
| | | @Excel(name = "å¤ä»¶è¯·è´åID", width = 15) |
| | | @ApiModelProperty(value = "å¤ä»¶è¯·è´åID") |
| | | private String spareRequisitionId; |
| | | /** |
| | | * å¤åå¤ä»¶ID |
| | | */ |
| | | @Excel(name = "å¤åå¤ä»¶ID", width = 15) |
| | | @ApiModelProperty(value = "å¤åå¤ä»¶ID") |
| | | private String partId; |
| | | /** |
| | | * è¯·è´æ°é |
| | | */ |
| | | @Excel(name = "è¯·è´æ°é", width = 15) |
| | | @ApiModelProperty(value = "è¯·è´æ°é") |
| | | private BigDecimal requisitionNum; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶æ¥åº |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_spare_part_scrap") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_spare_part_scrap对象", description = "å¤åå¤ä»¶æ¥åº") |
| | | public class EamSparePartScrap extends JeecgEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 6488311729391831911L; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @Excel(name = "å 餿 è®°", width = 15) |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Integer delFlag; |
| | | /** |
| | | * åæ®å· |
| | | */ |
| | | @Excel(name = "åæ®å·", width = 15) |
| | | @ApiModelProperty(value = "åæ®å·") |
| | | private String scrapCode; |
| | | /** |
| | | * åºåID |
| | | */ |
| | | @Excel(name = "åºåID", width = 15) |
| | | @ApiModelProperty(value = "åºåID") |
| | | private String inventoryId; |
| | | /** |
| | | * æ¥åºåå |
| | | */ |
| | | @Excel(name = "æ¥åºåå ", width = 15) |
| | | @ApiModelProperty(value = "æ¥åºåå ") |
| | | private String scrapReason; |
| | | /** |
| | | * æ¥åºæ°é |
| | | */ |
| | | @Excel(name = "æ¥åºæ°é", width = 15) |
| | | @ApiModelProperty(value = "æ¥åºæ°é") |
| | | private BigDecimal scrapNum; |
| | | /** |
| | | * ç³è¯·äºº |
| | | */ |
| | | @Excel(name = "ç³è¯·äºº", width = 15) |
| | | @ApiModelProperty(value = "ç³è¯·äºº") |
| | | private String reportUser; |
| | | /** |
| | | * å®¡æ ¸äºº |
| | | */ |
| | | @Excel(name = "å®¡æ ¸äºº", width = 15) |
| | | @ApiModelProperty(value = "å®¡æ ¸äºº") |
| | | private String approvalUser; |
| | | /** |
| | | * å®¡æ ¸æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "å®¡æ ¸æ¶é´") |
| | | private Date approvalTime; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.system.base.entity.JeecgEntity; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶ç®¡ç |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_spare_parts") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_spare_parts对象", description = "å¤åå¤ä»¶ç®¡ç") |
| | | public class EamSpareParts extends JeecgEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -415017937153260910L; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @Excel(name = "å 餿 è®°", width = 15) |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private Integer delFlag; |
| | | /** |
| | | * å¤ä»¶ç¼ç |
| | | */ |
| | | @Excel(name = "å¤ä»¶ç¼ç ", width = 15) |
| | | @ApiModelProperty(value = "å¤ä»¶ç¼ç ") |
| | | private String partCode; |
| | | /** |
| | | * å¤ä»¶åç§° |
| | | */ |
| | | @Excel(name = "å¤ä»¶åç§°", width = 15) |
| | | @ApiModelProperty(value = "å¤ä»¶åç§°") |
| | | private String partName; |
| | | /** |
| | | * å¤ä»¶åç±» |
| | | */ |
| | | @Excel(name = "å¤ä»¶åç±»", width = 15) |
| | | @ApiModelProperty(value = "å¤ä»¶åç±»") |
| | | private String partCategory; |
| | | /** |
| | | * å¤ä»¶åå· |
| | | */ |
| | | @Excel(name = "å¤ä»¶åå·", width = 15) |
| | | @ApiModelProperty(value = "å¤ä»¶åå·") |
| | | private String partModel; |
| | | /** |
| | | * å¤ä»¶è§æ ¼ |
| | | */ |
| | | @Excel(name = "å¤ä»¶è§æ ¼", width = 15) |
| | | @ApiModelProperty(value = "å¤ä»¶è§æ ¼") |
| | | private String partSpecification; |
| | | /** |
| | | * åæ¾ä»åº |
| | | */ |
| | | @Excel(name = "åæ¾ä»åº", width = 15) |
| | | @ApiModelProperty(value = "åæ¾ä»åº") |
| | | private String storehouse; |
| | | /** |
| | | * 计éåä½ |
| | | */ |
| | | @Excel(name = "计éåä½", width = 15) |
| | | @ApiModelProperty(value = "计éåä½") |
| | | private String unit; |
| | | /** |
| | | * å¶é ä¼ä¸ |
| | | */ |
| | | @Excel(name = "å¶é ä¼ä¸", width = 15) |
| | | @ApiModelProperty(value = "å¶é ä¼ä¸") |
| | | private String manufacturingEnterprise; |
| | | /** |
| | | * æææï¼å¤©ï¼;åä½ï¼å¤© |
| | | */ |
| | | @Excel(name = "æææï¼å¤©ï¼;åä½ï¼å¤©", width = 15) |
| | | @ApiModelProperty(value = "æææï¼å¤©ï¼;åä½ï¼å¤©") |
| | | private Integer periodOfValidity; |
| | | /** |
| | | * æå¤§å¤è´§åºå |
| | | */ |
| | | @Excel(name = "æå¤§å¤è´§åºå", width = 15) |
| | | @ApiModelProperty(value = "æå¤§å¤è´§åºå") |
| | | private BigDecimal inventoryMax; |
| | | /** |
| | | * æå°å¤è´§åºå |
| | | */ |
| | | @Excel(name = "æå°å¤è´§åºå", width = 15) |
| | | @ApiModelProperty(value = "æå°å¤è´§åºå") |
| | | private BigDecimal inventoryMin; |
| | | /** |
| | | * åºåé¢è¦å¼ |
| | | */ |
| | | @Excel(name = "åºåé¢è¦å¼", width = 15) |
| | | @ApiModelProperty(value = "åºåé¢è¦å¼") |
| | | private BigDecimal inventoryWarning; |
| | | /** |
| | | * 夿³¨ |
| | | */ |
| | | @Excel(name = "夿³¨", width = 15) |
| | | @ApiModelProperty(value = "夿³¨") |
| | | private String remark; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartInventory; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶åºåä¿¡æ¯ |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface EamSparePartInventoryMapper extends BaseMapper<EamSparePartInventory> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceiveDetail; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * @Description: é¢ç¨åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface EamSparePartReceiveDetailMapper extends BaseMapper<EamSparePartReceiveDetail> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceive; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶é¢ç¨å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface EamSparePartReceiveMapper extends BaseMapper<EamSparePartReceive> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisitionDetail; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶æ¸
è´åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface EamSparePartRequisitionDetailMapper extends BaseMapper<EamSparePartRequisitionDetail> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisition; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶è¯·è´å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface EamSparePartRequisitionMapper extends BaseMapper<EamSparePartRequisition> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartScrap; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶æ¥åº |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface EamSparePartScrapMapper extends BaseMapper<EamSparePartScrap> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.mapper; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSpareParts; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶ç®¡ç |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface EamSparePartsMapper extends BaseMapper<EamSpareParts> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartInventoryMapper"> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartReceiveDetailMapper"> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartReceiveMapper"> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartRequisitionDetailMapper"> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartRequisitionMapper"> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartScrapMapper"> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartsMapper"> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartInventory; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶åºåä¿¡æ¯ |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IEamSparePartInventoryService extends IService<EamSparePartInventory> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceiveDetail; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * @Description: é¢ç¨åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IEamSparePartReceiveDetailService extends IService<EamSparePartReceiveDetail> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceive; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶é¢ç¨å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IEamSparePartReceiveService extends IService<EamSparePartReceive> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisitionDetail; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶æ¸
è´åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IEamSparePartRequisitionDetailService extends IService<EamSparePartRequisitionDetail> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisition; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶è¯·è´å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IEamSparePartRequisitionService extends IService<EamSparePartRequisition> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartScrap; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶æ¥åº |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IEamSparePartScrapService extends IService<EamSparePartScrap> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSpareParts; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶ç®¡ç |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface IEamSparePartsService extends IService<EamSpareParts> { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartInventory; |
| | | import org.jeecg.modules.eam.mapper.EamSparePartInventoryMapper; |
| | | import org.jeecg.modules.eam.service.IEamSparePartInventoryService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶åºåä¿¡æ¯ |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Service |
| | | public class EamSparePartInventoryServiceImpl extends ServiceImpl<EamSparePartInventoryMapper, EamSparePartInventory> implements IEamSparePartInventoryService { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceiveDetail; |
| | | import org.jeecg.modules.eam.mapper.EamSparePartReceiveDetailMapper; |
| | | import org.jeecg.modules.eam.service.IEamSparePartReceiveDetailService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | /** |
| | | * @Description: é¢ç¨åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Service |
| | | public class EamSparePartReceiveDetailServiceImpl extends ServiceImpl<EamSparePartReceiveDetailMapper, EamSparePartReceiveDetail> implements IEamSparePartReceiveDetailService { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartReceive; |
| | | import org.jeecg.modules.eam.mapper.EamSparePartReceiveMapper; |
| | | import org.jeecg.modules.eam.service.IEamSparePartReceiveService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶é¢ç¨å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Service |
| | | public class EamSparePartReceiveServiceImpl extends ServiceImpl<EamSparePartReceiveMapper, EamSparePartReceive> implements IEamSparePartReceiveService { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisitionDetail; |
| | | import org.jeecg.modules.eam.mapper.EamSparePartRequisitionDetailMapper; |
| | | import org.jeecg.modules.eam.service.IEamSparePartRequisitionDetailService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶æ¸
è´åæç» |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Service |
| | | public class EamSparePartRequisitionDetailServiceImpl extends ServiceImpl<EamSparePartRequisitionDetailMapper, EamSparePartRequisitionDetail> implements IEamSparePartRequisitionDetailService { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartRequisition; |
| | | import org.jeecg.modules.eam.mapper.EamSparePartRequisitionMapper; |
| | | import org.jeecg.modules.eam.service.IEamSparePartRequisitionService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | /** |
| | | * @Description: å¤ä»¶è¯·è´å |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Service |
| | | public class EamSparePartRequisitionServiceImpl extends ServiceImpl<EamSparePartRequisitionMapper, EamSparePartRequisition> implements IEamSparePartRequisitionService { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSparePartScrap; |
| | | import org.jeecg.modules.eam.mapper.EamSparePartScrapMapper; |
| | | import org.jeecg.modules.eam.service.IEamSparePartScrapService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶æ¥åº |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Service |
| | | public class EamSparePartScrapServiceImpl extends ServiceImpl<EamSparePartScrapMapper, EamSparePartScrap> implements IEamSparePartScrapService { |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import org.jeecg.modules.eam.entity.EamSpareParts; |
| | | import org.jeecg.modules.eam.mapper.EamSparePartsMapper; |
| | | import org.jeecg.modules.eam.service.IEamSparePartsService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | |
| | | /** |
| | | * @Description: å¤åå¤ä»¶ç®¡ç |
| | | * @Author: Lius |
| | | * @Date: 2025-03-19 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Service |
| | | public class EamSparePartsServiceImpl extends ServiceImpl<EamSparePartsMapper, EamSpareParts> implements IEamSparePartsService { |
| | | |
| | | } |