56708
This commit is contained in:
+2
-2
@@ -57,8 +57,8 @@ public class SarStandardComplianceAssessResultController {
|
|||||||
QueryWrapper<SarStandardComplianceProductAssess> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<SarStandardComplianceProductAssess> queryWrapper = new QueryWrapper<>();
|
||||||
IPage<SarStandardComplianceProductAssess> iPage = new Page<>(eo.getCurrent(), eo.getSize());
|
IPage<SarStandardComplianceProductAssess> iPage = new Page<>(eo.getCurrent(), eo.getSize());
|
||||||
queryWrapper.select(" STAND_ID,ANY_VALUE(STAND_NUMBER) as STAND_NUMBER, STAND_NAME, STAND_TYPE");
|
queryWrapper.select(" STAND_ID,ANY_VALUE(STAND_NUMBER) as STAND_NUMBER, STAND_NAME, STAND_TYPE");
|
||||||
if (eo.getStandName() != null ) {
|
if (eo.getStandName() != null && !eo.getStandName().trim().equals("")) {
|
||||||
queryWrapper.like("STAND_NAME", eo.getStandName().replace(" ",""));
|
queryWrapper.like("STAND_NAME", eo.getStandName().trim());
|
||||||
}
|
}
|
||||||
if (eo.getStandNumber() != null && !eo.getStandNumber().trim().equals("")) {
|
if (eo.getStandNumber() != null && !eo.getStandNumber().trim().equals("")) {
|
||||||
queryWrapper.like("STAND_NUMBER", eo.getStandNumber().trim());
|
queryWrapper.like("STAND_NUMBER", eo.getStandNumber().trim());
|
||||||
|
|||||||
Reference in New Issue
Block a user