供应链人员设置提交
This commit is contained in:
		
							parent
							
								
									a01322f6c7
								
							
						
					
					
						commit
						61bdab8a4e
					
				| 
						 | 
				
			
			@ -22,7 +22,9 @@ public class PersonSettingController extends BaseController {
 | 
			
		|||
    @ApiOperation("供应链人员配置-查询")
 | 
			
		||||
    @GetMapping("/getList")
 | 
			
		||||
    public TableDataInfo getList(PersonSetting dto) {
 | 
			
		||||
        startPage();
 | 
			
		||||
        if("0".equals(dto.getIsPaging())){
 | 
			
		||||
            startPage();
 | 
			
		||||
        }
 | 
			
		||||
        return getDataTable(service.getList(dto));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,4 +50,7 @@ public class PersonSetting {
 | 
			
		|||
    @ApiModelProperty(value = "类型")
 | 
			
		||||
    @TableField(exist = false)
 | 
			
		||||
    private String type;
 | 
			
		||||
 | 
			
		||||
    @ApiModelProperty("是否分页0是 1否")
 | 
			
		||||
    private Integer isPaging =0;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
			
		|||
            <if test="id != null">
 | 
			
		||||
                and ips.id = #{id}
 | 
			
		||||
            </if>
 | 
			
		||||
            <if test="roleId != null and roleId != ''">
 | 
			
		||||
                and ips.role_id = #{roleId}
 | 
			
		||||
            </if>
 | 
			
		||||
            <if test="type != null and type != '' and type == 'supplier'">
 | 
			
		||||
                and ips.role_id = 1
 | 
			
		||||
            </if>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue