参数清单搜索条件修改
This commit is contained in:
+8
@@ -697,6 +697,14 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
sqlJoinSb.append(" and dre like '%").append(paramsCollectManifestVO.getDre()).append("%'");
|
||||
}
|
||||
|
||||
if (StringUtils.isNotEmpty(paramsCollectManifestVO.getState())) {
|
||||
paramsCollectManifestVO.setDre(paramsCollectManifestVO.getState().replaceAll("'", "\'"));
|
||||
sqlJoinSb.append(" and state = '").append(paramsCollectManifestVO.getDre()).append("'");
|
||||
}
|
||||
if (StringUtils.isNotEmpty(paramsCollectManifestVO.getCertCategory())) {
|
||||
sqlJoinSb.append(" and cert_category like '%").append(paramsCollectManifestVO.getCertCategory()).append("%'");
|
||||
}
|
||||
|
||||
// 如果高级查询条件不为空,拼接参数
|
||||
if (StringUtils.isNotEmpty(paramsCollectManifestVO.getQueryConditionVOListStr())) {
|
||||
List<QueryConditionVO> queryConditionVOList = JSONObject.parseArray(paramsCollectManifestVO.getQueryConditionVOListStr(), QueryConditionVO.class);
|
||||
|
||||
Reference in New Issue
Block a user