Commit b46ff792 authored by tianyiming's avatar tianyiming

修改问题

parent e89c404f
...@@ -124,8 +124,9 @@ public class CheckController extends AbstractBaseController { ...@@ -124,8 +124,9 @@ public class CheckController extends AbstractBaseController {
@ApiParam(value = "分页参数", required = true) CommonPageable commonPageable) { @ApiParam(value = "分页参数", required = true) CommonPageable commonPageable) {
ReginParams reginParams = getSelectedOrgInfo(); ReginParams reginParams = getSelectedOrgInfo();
param.setOrderBy("checkDate desc"); param.setOrderBy("checkDate desc");
param.setBizOrgCode("3".equals(param.getIsOK()) ? null : param.setBizOrgCode(ObjectUtils.isEmpty(param.getBizOrgCode()) ?
ObjectUtils.isEmpty(param.getBizOrgCode()) ? reginParams.getPersonIdentity().getBizOrgCode() : param.getBizOrgCode()); "3".equals(param.getIsOK()) ? null : reginParams.getPersonIdentity().getBizOrgCode()
: param.getBizOrgCode());
if(commonPageable !=null){ if(commonPageable !=null){
param.setPageNumber(commonPageable.getPageNumber()-1); param.setPageNumber(commonPageable.getPageNumber()-1);
param.setPageSize(commonPageable.getPageSize()); param.setPageSize(commonPageable.getPageSize());
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
sys.status = #{status} sys.status = #{status}
</if> </if>
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
sys.bizOrgCode like concat('%',#{bizOrgCode},'%') and sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
</if> </if>
</where> </where>
</select> </select>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
sys.status = #{status} sys.status = #{status}
</if> </if>
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
sys.bizOrgCode like concat('%',#{bizOrgCode},'%') and sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
</if> </if>
</where> </where>
LIMIT #{current},#{size} LIMIT #{current},#{size}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment