소스 검색

场景包分配

root 2 년 전
부모
커밋
8ad427ad0f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      simulation-resource-server/src/main/resources/mapper/project/SimulationProjectMapper.xml

+ 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>