multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml
@@ -14,7 +14,8 @@ pi.`create_by`, pi.`create_time`, pi.`update_by`, pi.`update_time` pi.`update_time`, pi.item_id FROM `process_inspection` pi LEFT JOIN sys_company sc ON pi.company_id = sc.id @@ -26,6 +27,9 @@ <if test="templateType!=null"> and pi.type = #{templateType} </if> <if test="itemId!=null"> and pi.item_id = #{itemId} </if> </select> </mapper>