领料接口优化
This commit is contained in:
parent
b7545c89ff
commit
17b5a846d8
|
|
@ -43,7 +43,7 @@ public class MachineController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 查询机具设备管理列表
|
* 查询机具设备管理列表
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "查询机具设备管理列表")
|
@ApiOperation(value = "查询机具设备管理列表1")
|
||||||
@RequiresPermissions("ma:machine:list")
|
@RequiresPermissions("ma:machine:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(Machine machine)
|
public TableDataInfo list(Machine machine)
|
||||||
|
|
@ -56,7 +56,7 @@ public class MachineController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 查询机具设备管理列表
|
* 查询机具设备管理列表
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "查询机具设备管理列表")
|
@ApiOperation(value = "查询机具设备管理列表2")
|
||||||
//@RequiresPermissions("ma:machine:typeList")
|
//@RequiresPermissions("ma:machine:typeList")
|
||||||
@GetMapping("/getTypeList")
|
@GetMapping("/getTypeList")
|
||||||
public AjaxResult list(Type type)
|
public AjaxResult list(Type type)
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
or ma.own_house like concat('%', #{keyWord}, '%')
|
or ma.own_house like concat('%', #{keyWord}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
<if test="typeId != null">
|
||||||
|
and ma.type_id = #{typeId}
|
||||||
|
</if>
|
||||||
<if test="materialType != null and materialType != ''">
|
<if test="materialType != null and materialType != ''">
|
||||||
and mt3.type_name like concat('%', #{materialType}, '%')
|
and mt3.type_name like concat('%', #{materialType}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue