领料接口优化

This commit is contained in:
sxu 2024-11-14 16:30:20 +08:00
parent b7545c89ff
commit 17b5a846d8
2 changed files with 5 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class MachineController extends BaseController {
/**
* 查询机具设备管理列表
*/
@ApiOperation(value = "查询机具设备管理列表")
@ApiOperation(value = "查询机具设备管理列表1")
@RequiresPermissions("ma:machine:list")
@GetMapping("/list")
public TableDataInfo list(Machine machine)
@ -56,7 +56,7 @@ public class MachineController extends BaseController {
/**
* 查询机具设备管理列表
*/
@ApiOperation(value = "查询机具设备管理列表")
@ApiOperation(value = "查询机具设备管理列表2")
//@RequiresPermissions("ma:machine:typeList")
@GetMapping("/getTypeList")
public AjaxResult list(Type type)

View File

@ -92,6 +92,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
or ma.own_house like concat('%', #{keyWord}, '%')
)
</if>
<if test="typeId != null">
and ma.type_id = #{typeId}
</if>
<if test="materialType != null and materialType != ''">
and mt3.type_name like concat('%', #{materialType}, '%')
</if>