Просмотр исходного кода

模型、服务、审核发布

ZhuDeKang 3 месяцев назад
Родитель
Сommit
6cca6375f6

+ 1 - 1
ruoyi-api-patform/src/main/resources/mapper/interfaces/MdModelInfoMapper.xml

@@ -174,7 +174,7 @@
             <if test="mdAuth != null  and mdAuth != ''">and MD_AUTH = #{mdAuth}</if>
             <if test="mdHeader != null  and mdHeader != ''">and MD_HEADER = #{mdHeader}</if>
             <if test="mdSecret != null  and mdSecret != ''">and MD_SECRET = #{mdSecret}</if>
-            <if test="mdUnit != null  and mdUnit != ''">and MD_UNIT = #{mdUnit}</if>
+            <if test="mdUnit != null  and mdUnit != ''">and MD_UNIT like concat('%', #{mdUnit},'%')</if>
             <if test="mdContact != null  and mdContact != ''">and MD_CONTACT = #{mdContact}</if>
             <if test="devUnit != null  and devUnit != ''">and DEV_UNIT = #{devUnit}</if>
             <if test="devContact != null  and devContact != ''">and DEV_CONTACT = #{devContact}</if>

+ 1 - 0
ruoyi-api-patform/src/main/resources/mapper/interfaces/PtServiceMapper.xml

@@ -781,6 +781,7 @@ PUBLISH_TIME
         s.PUBLISH AS S_PUBLISH,
         s.PUBLISH_BY AS S_PUBLISH_BY,
         s.PUBLISH_TIME AS S_PUBLISH_TIME,
+        s.state
         r.SEN_STATE
         from md_model_info m left join pt_service s on m.mdid = s.MDID
         LEFT JOIN (