工单历史数据

This commit is contained in:
lujiang 2024-09-04 01:01:18 +08:00
parent f533fb6455
commit 27906c83cc
3 changed files with 28 additions and 2 deletions

View File

@ -27,7 +27,22 @@ public class RepairHisController extends BaseController {
private IRepairHisService repairHisService;
/**
* 查询VIEW列表
* pageNum第几页
* pageSize每页数量
* name报修人姓名模糊查询
* tel报修人电话模糊查询
* bxorder工单编号模糊查询
* gztype设备类型名称模糊查询
* gzname设备名称模糊查询
* addr地点模糊查询
* floor楼层名称模糊查询
* fjh房间号模糊查询
* wxrname维修人姓名模糊查询
* wxrtel维修人电话模糊查询
* desc问题描述模糊查询
* <p>
* beginTime : 工单创建日期范围开始时间;格式示例 2024-08-22成对出现
* endTime : 工单创建日期范围结束时间;格式示例 2024-08-25成对出现
*/
@RequiresPermissions(value = {"repair:manage:operator"})
@RequestMapping("list")
@ -50,6 +65,15 @@ public class RepairHisController extends BaseController {
return result(repairHisService.getRepairHisList(repairHis));
}
/**
* 工单历史数据 详情接口
*
* 返回工单数据
* logs字段为工单处理日志
*
* @param bxid 工单id
* @return
*/
@RequiresPermissions("repair:manage:operator")
@RequestMapping("get")
public R get(Long bxid) {

View File

@ -48,6 +48,8 @@
<if test="name != null and name != ''"> AND name LIKE CONCAT('%', #{name}, '%')</if>
<if test="tel != null and tel != ''"> AND tel LIKE CONCAT('%', #{tel}, '%')</if>
<if test="bxorder != null and bxorder != ''"> AND bxorder LIKE CONCAT('%', #{bxorder}, '%')</if>
<if test="gztype != null and gztype != ''"> AND gztype LIKE CONCAT('%', #{gztype}, '%')</if>
<if test="gzname != null and gzname != ''"> AND gzname LIKE CONCAT('%', #{gzname}, '%')</if>
<if test="addr != null and addr != ''"> AND addr LIKE CONCAT('%', #{addr}, '%')</if>
<if test="floor != null and floor != ''"> AND floor LIKE CONCAT('%', #{floor}, '%')</if>
<if test="fjh != null and fjh != ''"> AND fjh LIKE CONCAT('%', #{fjh}, '%')</if>

View File

@ -56,7 +56,7 @@
</executions>
</plugin>
</plugins>
<finalName>ics-demo</finalName>
<finalName>shoot-hand</finalName>
</build>
</project>