fix: 不符合项库列表
This commit is contained in:
-2
@@ -15,8 +15,6 @@
|
|||||||
<select id="pageList" resultType="com.jero.modules.assessmentLibrary.entity.LawsEvaluationNotMetLibrary">
|
<select id="pageList" resultType="com.jero.modules.assessmentLibrary.entity.LawsEvaluationNotMetLibrary">
|
||||||
select nm.*
|
select nm.*
|
||||||
from laws_evaluation_not_met_library nm
|
from laws_evaluation_not_met_library nm
|
||||||
left join laws_domestic_standard as d on d.id = nm.standard_id
|
|
||||||
|
|
||||||
${ew.customSqlSegment}
|
${ew.customSqlSegment}
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
+2
-2
@@ -56,9 +56,9 @@ public class LawsEvaluationNotMetLibraryServiceImpl extends ServiceImpl<LawsEval
|
|||||||
public IPage<LawsEvaluationNotMetLibrary> queryPage(LawsEvaluationNotMetLibrary lawsEvaluationNotMet, Integer pageNo, Integer pageSize, HttpServletRequest req) {
|
public IPage<LawsEvaluationNotMetLibrary> queryPage(LawsEvaluationNotMetLibrary lawsEvaluationNotMet, Integer pageNo, Integer pageSize, HttpServletRequest req) {
|
||||||
QueryWrapper<LawsEvaluationNotMetLibrary> queryWrapper = QueryGenerator.initQueryWrapper(lawsEvaluationNotMet, req.getParameterMap());
|
QueryWrapper<LawsEvaluationNotMetLibrary> queryWrapper = QueryGenerator.initQueryWrapper(lawsEvaluationNotMet, req.getParameterMap());
|
||||||
queryWrapper.like(StringUtils.isNotBlank(lawsEvaluationNotMet.getStandardNumber()),
|
queryWrapper.like(StringUtils.isNotBlank(lawsEvaluationNotMet.getStandardNumber()),
|
||||||
"d.standard_number", lawsEvaluationNotMet.getStandardNumber());
|
"nm.standard_number", lawsEvaluationNotMet.getStandardNumber());
|
||||||
queryWrapper.like(StringUtils.isNotBlank(lawsEvaluationNotMet.getStandardName()),
|
queryWrapper.like(StringUtils.isNotBlank(lawsEvaluationNotMet.getStandardName()),
|
||||||
"d.standard_name", lawsEvaluationNotMet.getStandardName());
|
"nm.standard_name", lawsEvaluationNotMet.getStandardName());
|
||||||
queryWrapper.like(StringUtils.isNotBlank(lawsEvaluationNotMet.getModel()),
|
queryWrapper.like(StringUtils.isNotBlank(lawsEvaluationNotMet.getModel()),
|
||||||
"nm.model", lawsEvaluationNotMet.getModel());
|
"nm.model", lawsEvaluationNotMet.getModel());
|
||||||
if (StringUtils.isNotBlank(lawsEvaluationNotMet.getAuthDept())) {
|
if (StringUtils.isNotBlank(lawsEvaluationNotMet.getAuthDept())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user