Browse Source

查询专利号带筛选 2022/12/14

lwhhszx 2 năm trước cách đây
mục cha
commit
446a87f144

+ 1 - 0
PAS/src/main/java/cn/cslg/pas/service/impl/StructureServiceImpl.java

@@ -262,6 +262,7 @@ public class StructureServiceImpl extends ServiceImpl<StructureMapper, Structure
         StructureVO structureVO = new StructureVO();
         //从DTO中取出产品id、架构id
         Integer productId = structureQueryPageDTO.getProductId();
+
         Integer structureId = structureQueryPageDTO.getStructureId();
         LambdaQueryWrapper<Structure> wrapper = new LambdaQueryWrapper<>();
         wrapper.like(Structure::getStructureName, structureQueryPageDTO.getStructureName());

+ 1 - 1
PAS/src/main/resources/application.yml

@@ -20,7 +20,7 @@ spring:
       max-file-size: 1000MB
       max-request-size: 1000MB
   profiles:
-    active: prod2
+    active: dev
   jackson:
     default-property-inclusion: non_null
     serialization:

+ 1 - 1
PAS/src/main/resources/mapper/StructureMapper.xml

@@ -82,7 +82,7 @@
         from structure
         where parent_id = #{parentId}
           and product_id = #{productId}
-        and id in
+        and id  in
         <foreach collection="ids" item="item" separator="," open="(" close=")">
             #{item}
         </foreach>