2024/12/13 曹煤炭清单管理增加隐患级别搜索条件
parent
256ccee8f0
commit
e4aaa14a6a
|
@ -937,14 +937,20 @@ public class ListManagerController extends BaseController {
|
|||
pd = this.getPageData();
|
||||
String NAME = "";
|
||||
String KEYWORDS = "";
|
||||
String LEVELID = "";
|
||||
if(Tools.notEmpty(pd.getString("USERNAME"))){
|
||||
NAME = pd.getString("USERNAME");
|
||||
}if(Tools.notEmpty(pd.getString("KEYWORDS"))){
|
||||
}
|
||||
if(Tools.notEmpty(pd.getString("KEYWORDS"))){
|
||||
KEYWORDS = pd.getString("KEYWORDS");
|
||||
}
|
||||
if(Tools.notEmpty(pd.getString("LEVELID"))){
|
||||
LEVELID = pd.getString("LEVELID");
|
||||
}
|
||||
pd = listmanagerService.findById(pd); //根据ID读取
|
||||
pd.put("USERNAME",NAME); //用于清单编辑时查询功能
|
||||
pd.put("KEYWORDS",KEYWORDS);
|
||||
pd.put("LEVELID",LEVELID);
|
||||
List<PageData> varList = listcheckitemService.listAll(pd);
|
||||
for (PageData item : varList) {
|
||||
item.put("RECORDITEM_ID", this.get32UUID()); //主键
|
||||
|
|
|
@ -188,6 +188,9 @@
|
|||
chi.CHECK_CONTENT LIKE CONCAT(CONCAT('%', #{KEYWORDS}),'%')
|
||||
)
|
||||
</if>
|
||||
<if test="LEVELID != null and LEVELID != ''"><!-- 风险级别 -->
|
||||
and d5.BIANMA LIKE CONCAT(CONCAT('%', #{LEVELID}),'%')
|
||||
</if>
|
||||
ORDER by un.RISKUNITNAME ,id.PARTSNAME,f.CREATTIME desc
|
||||
-- order by f.LISTMANAGER_ID desc
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue