Bläddra i källkod

场景包分配

root 2 år sedan
förälder
incheckning
8ad427ad0f

+ 3 - 0
simulation-resource-server/src/main/resources/mapper/project/SimulationProjectMapper.xml

@@ -286,6 +286,9 @@
         union  select b.id, b.algorithm_name,b.description,b.share,b.modify_time
         from algorithm b
         where  b.is_deleted = '0' and b.share='1'
+        <if test="uploadMode != null and uploadMode != ''">
+            and upload_mode = #{uploadMode,jdbcType=VARCHAR}
+        </if>
         )c order by c.share ,c.modify_time desc
     </select>