Преглед изворни кода

维保工单风机编号查询

HD_wangm пре 4 месеци
родитељ
комит
1d14a8a445

+ 5 - 5
ygtx-gxt/src/main/java/com/ygtx/gxt/controller/GxtMisInfoController.java

@@ -21,23 +21,23 @@ import io.swagger.annotations.ApiImplicitParam;
 import io.swagger.annotations.ApiImplicitParams;
 
 /**
- * 维保工单Controller
+ * MIS工单Controller
  *
  * @author ygtx
  * @date 2025-10-25
  */
 @RestController
 @RequestMapping("/gxt/misInfo")
-@Api(tags = "维保工单管理")
+@Api(tags = "MIS工单管理")
 public class GxtMisInfoController extends BaseController
 {
     @Autowired
     private IGxtMisInfoService misInfoService;
 
     /**
-     * 查询维保工单列表
+     * 查询MIS工单列表
      */
-    @ApiOperation("查询维保工单列表")
+    @ApiOperation("查询MIS工单列表")
     @GetMapping("/list")
     public TableDataInfo list(GxtMisInfo misInfo)
     {
@@ -47,7 +47,7 @@ public class GxtMisInfoController extends BaseController
     }
 
     /**
-     * 查询维保工单列表
+     * 查询MIS工单列表
      */
     @ApiOperation("查询工作组员列表")
     @GetMapping("/listWorkPerson")

+ 1 - 0
ygtx-gxt/src/main/resources/mapper/gxt/GxtWorkOrderMapper.xml

@@ -128,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectGxtWorkOrderList" parameterType="GxtWorkOrder" resultMap="GxtWorkOrderResult">
         <include refid="selectGxtWorkOrderVo"/>
         <where>
+            <if test="pcsDeviceName != null  and pcsDeviceName != ''"> and pcs_device_name like concat('%', #{pcsDeviceName}, '%')</if>
             <if test="workOrderProjectNo != null  and workOrderProjectNo != ''"> and work_order_project_no like concat('%', #{workOrderProjectNo}, '%')</if>
             <if test="workOrderStatus != null  and workOrderStatus != ''"> and work_order_status = #{workOrderStatus}</if>
             <if test="gxtCenter != null  and gxtCenter != ''"> and gxt_center = #{gxtCenter}</if>