供应链人员设置提交

This commit is contained in:
liux 2025-10-20 15:47:27 +08:00
parent a01322f6c7
commit 61bdab8a4e
3 changed files with 9 additions and 1 deletions

View File

@ -22,7 +22,9 @@ public class PersonSettingController extends BaseController {
@ApiOperation("供应链人员配置-查询") @ApiOperation("供应链人员配置-查询")
@GetMapping("/getList") @GetMapping("/getList")
public TableDataInfo getList(PersonSetting dto) { public TableDataInfo getList(PersonSetting dto) {
startPage(); if("0".equals(dto.getIsPaging())){
startPage();
}
return getDataTable(service.getList(dto)); return getDataTable(service.getList(dto));
} }

View File

@ -50,4 +50,7 @@ public class PersonSetting {
@ApiModelProperty(value = "类型") @ApiModelProperty(value = "类型")
@TableField(exist = false) @TableField(exist = false)
private String type; private String type;
@ApiModelProperty("是否分页0是 1否")
private Integer isPaging =0;
} }

View File

@ -20,6 +20,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="id != null"> <if test="id != null">
and ips.id = #{id} and ips.id = #{id}
</if> </if>
<if test="roleId != null and roleId != ''">
and ips.role_id = #{roleId}
</if>
<if test="type != null and type != '' and type == 'supplier'"> <if test="type != null and type != '' and type == 'supplier'">
and ips.role_id = 1 and ips.role_id = 1
</if> </if>