参数清单搜索条件修改

This commit is contained in:
高嵩
2023-09-20 17:22:38 +08:00
parent 0e1eaf78dd
commit de09486be8
2 changed files with 14 additions and 6 deletions
@@ -697,6 +697,14 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
sqlJoinSb.append(" and dre like '%").append(paramsCollectManifestVO.getDre()).append("%'"); 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())) { if (StringUtils.isNotEmpty(paramsCollectManifestVO.getQueryConditionVOListStr())) {
List<QueryConditionVO> queryConditionVOList = JSONObject.parseArray(paramsCollectManifestVO.getQueryConditionVOListStr(), QueryConditionVO.class); List<QueryConditionVO> queryConditionVOList = JSONObject.parseArray(paramsCollectManifestVO.getQueryConditionVOListStr(), QueryConditionVO.class);
@@ -799,12 +799,12 @@
value: 'paramsNumber', value: 'paramsNumber',
text: this.$t('certificationCategoryNumber') text: this.$t('certificationCategoryNumber')
}, },
// { {
// type: '', type: '',
// value: 'state', value: 'state',
// text: this.$t('status'), text: this.$t('status'),
// options: this.statusList//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框 options: this.statusList//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
// }, },
{ {
type: 'string', type: 'string',
value: 'params_batch', value: 'params_batch',