Commit b46ff792 authored by tianyiming's avatar tianyiming

修改问题

parent e89c404f
......@@ -124,8 +124,9 @@ public class CheckController extends AbstractBaseController {
@ApiParam(value = "分页参数", required = true) CommonPageable commonPageable) {
ReginParams reginParams = getSelectedOrgInfo();
param.setOrderBy("checkDate desc");
param.setBizOrgCode("3".equals(param.getIsOK()) ? null :
ObjectUtils.isEmpty(param.getBizOrgCode()) ? reginParams.getPersonIdentity().getBizOrgCode() : param.getBizOrgCode());
param.setBizOrgCode(ObjectUtils.isEmpty(param.getBizOrgCode()) ?
"3".equals(param.getIsOK()) ? null : reginParams.getPersonIdentity().getBizOrgCode()
: param.getBizOrgCode());
if(commonPageable !=null){
param.setPageNumber(commonPageable.getPageNumber()-1);
param.setPageSize(commonPageable.getPageSize());
......
......@@ -81,7 +81,7 @@
sys.status = #{status}
</if>
<if test="bizOrgCode != null and bizOrgCode != ''">
sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
and sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
</if>
</where>
</select>
......@@ -132,7 +132,7 @@
sys.status = #{status}
</if>
<if test="bizOrgCode != null and bizOrgCode != ''">
sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
and sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
</if>
</where>
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