瀏覽代碼

場景列項查詢

lyhzzz 2 年之前
父節點
當前提交
feb5baf6e8

+ 3 - 2
src/main/java/com/fdkankan/manage_jp/controller/SceneProController.java

@@ -40,6 +40,8 @@ public class SceneProController extends BaseController{
     IUserRoleService userRoleService;
     @Autowired
     IDownService downService;
+    @Autowired
+    FdKKClient fdKKClient;
 
     @PostMapping("/list")
     public Result list(@RequestBody SceneParam param){
@@ -67,8 +69,7 @@ public class SceneProController extends BaseController{
         return Result.success();
     }
 
-    @Autowired
-    FdKKClient fdKKClient;
+
 
     @GetMapping("/upgradeToV4")
     public Result upgradeToV4(@RequestParam(required = false) String num){

+ 1 - 1
src/main/resources/mapper/manage_jp/SceneProMapper.xml

@@ -36,7 +36,7 @@
         left join t_company co on d.company_id = co.id
         where s.rec_status = 'A'
         <if test="param.childName != null and param.childName !='' ">
-            and c.child_name like concat ('%',#{param.snCode},'%')
+            and c.child_name like concat ('%',#{param.childName},'%')
         </if>
         <if test="param.type !=null and param.type == 0">
             and s.scene_source in (1,2,12,13,14)