零部件模块
This commit is contained in:
+3
@@ -72,12 +72,15 @@ public class SarStandUnqualifiedServiceImpl extends ServiceImpl<SarStandUnqualif
|
||||
}
|
||||
//仅查询未关闭的
|
||||
sarStandUnqualifiedQueryWrapper.eq("close_state",1);
|
||||
//根据 项目名称 进行查询
|
||||
if(sarStandUnqualifiedPage.getProductName()!=null){
|
||||
sarStandUnqualifiedQueryWrapper.like("product_name",sarStandUnqualifiedPage.getProductName());
|
||||
}
|
||||
//根据 责任部门 进行查询
|
||||
if(sarStandUnqualifiedPage.getResponsibleUnit()!=null){
|
||||
sarStandUnqualifiedQueryWrapper.eq("responsible_unit",sarStandUnqualifiedPage.getResponsibleUnit());
|
||||
}
|
||||
//根据 标准号/标准名称 进行查询
|
||||
if(sarStandUnqualifiedPage.getStandSerialNumber()!=null){
|
||||
// sarStandUnqualifiedQueryWrapper.like("stand_serial_number",sarStandUnqualifiedPage.getStandSerialNumber()).or().like("stand_name",sarStandUnqualifiedPage.getStandName());
|
||||
sarStandUnqualifiedQueryWrapper.last(" and (stand_serial_number LIKE '%"+sarStandUnqualifiedPage.getStandSerialNumber()+"%'\n" +
|
||||
|
||||
Reference in New Issue
Block a user