From 96bea93e9591de5bd6e632b7bf9bb1e920f371ed Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期五, 10 十一月 2023 15:04:39 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/task/handler/CstmrCopyHandler.java |   29 +++++++++++++++++++----------
 src/main/webapp/views/priOnline2/priOnline.html                     |    2 +-
 src/main/webapp/views/plan/plan.html                                |    2 +-
 src/main/webapp/views/priQuote/priQuote.html                        |    2 +-
 4 files changed, 22 insertions(+), 13 deletions(-)

diff --git a/src/main/java/com/zy/crm/manager/task/handler/CstmrCopyHandler.java b/src/main/java/com/zy/crm/manager/task/handler/CstmrCopyHandler.java
index 73ad12f..ac683fc 100644
--- a/src/main/java/com/zy/crm/manager/task/handler/CstmrCopyHandler.java
+++ b/src/main/java/com/zy/crm/manager/task/handler/CstmrCopyHandler.java
@@ -6,6 +6,7 @@
 import com.zy.crm.manager.controller.CstmrController;
 import com.zy.crm.manager.entity.Cstmr;
 import com.zy.crm.manager.mapper.CstmrMapper;
+import com.zy.crm.manager.service.CompanyMoneyService;
 import com.zy.crm.manager.service.CstmrService;
 import com.zy.crm.manager.task.AbstractHandler;
 import com.zy.crm.manager.task.core.ReturnT;
@@ -32,25 +33,33 @@
     private CstmrController cstmrController;
     @Autowired
     private CstmrMapper cstmrMapper;
+    @Autowired
+    private CompanyMoneyService companyMoneyService;
 
 
     @Transactional
     public ReturnT<String> start() {
         try {
-            Long hostId = 1L;
+            if (false){
+                Long hostId = 1L;
 //            List<Cstmr> cstmrs = cstmrMapper.selectCopyList();
-            List<Cstmr> cstmrs = new ArrayList<>();
-            for (Cstmr cstmr33 : cstmrs){
-                Cstmr cstmr13 = cstmrService.selectByName(hostId,cstmr33.getName());
-                if (Cools.isEmpty(cstmr13)){
-                    Cstmr cstmr23 = cstmrService.selectById(186);
-                    Cstmr cstmr = new Cstmr(cstmr23);
-                    cstmr.setName(cstmr33.getName());
-                    cstmr.setUuid(cstmrService.getUuid(hostId));
-                    cstmrService.insert(cstmr);
+                List<Cstmr> cstmrs = new ArrayList<>();
+                for (Cstmr cstmr33 : cstmrs){
+                    Cstmr cstmr13 = cstmrService.selectByName(hostId,cstmr33.getName());
+                    if (Cools.isEmpty(cstmr13)){
+                        Cstmr cstmr23 = cstmrService.selectById(186);
+                        Cstmr cstmr = new Cstmr(cstmr23);
+                        cstmr.setName(cstmr33.getName());
+                        cstmr.setUuid(cstmrService.getUuid(hostId));
+                        cstmrService.insert(cstmr);
+                    }
                 }
             }
 
+            if (true){
+
+            }
+
 
         } catch (Exception e) {
             log.error("fail", e);
diff --git a/src/main/webapp/views/plan/plan.html b/src/main/webapp/views/plan/plan.html
index ef58192..d710514 100644
--- a/src/main/webapp/views/plan/plan.html
+++ b/src/main/webapp/views/plan/plan.html
@@ -119,7 +119,7 @@
     <div style="padding: 10px">
         <div class="layui-upload">
             <button type="button" class="layui-btn layui-btn-normal" id="data-btn-file2">閫夋嫨鏂囦欢</button><input id="data-btn-upload" class="layui-upload-file" type="file" accept="" name="file" multiple="">
-            <div class="layui-upload-list" style="max-width: 1000px;">
+            <div class="layui-upload-list" style="max-width: 1000px;height:400px;overflow: scroll">
                 <table class="layui-table">
                     <colgroup>
                         <col>
diff --git a/src/main/webapp/views/priOnline2/priOnline.html b/src/main/webapp/views/priOnline2/priOnline.html
index 5f0b8b2..f5612bc 100644
--- a/src/main/webapp/views/priOnline2/priOnline.html
+++ b/src/main/webapp/views/priOnline2/priOnline.html
@@ -85,7 +85,7 @@
     <div style="padding: 10px">
         <div class="layui-upload">
             <button type="button" class="layui-btn layui-btn-normal" id="data-btn-file2">閫夋嫨鏂囦欢</button><input id="data-btn-upload" class="layui-upload-file" type="file" accept="" name="file" multiple="">
-            <div class="layui-upload-list" style="max-width: 1000px;">
+            <div class="layui-upload-list" style="max-width: 1000px;height:400px;overflow: scroll">
                 <table class="layui-table">
                     <colgroup>
                         <col>
diff --git a/src/main/webapp/views/priQuote/priQuote.html b/src/main/webapp/views/priQuote/priQuote.html
index fd6c2b9..56aab74 100644
--- a/src/main/webapp/views/priQuote/priQuote.html
+++ b/src/main/webapp/views/priQuote/priQuote.html
@@ -96,7 +96,7 @@
     <div style="padding: 10px">
         <div class="layui-upload">
             <button type="button" class="layui-btn layui-btn-normal" id="data-btn-file2">閫夋嫨鏂囦欢</button><input id="data-btn-upload" class="layui-upload-file" type="file" accept="" name="file" multiple="">
-            <div class="layui-upload-list" style="max-width: 1000px;">
+            <div class="layui-upload-list" style="max-width: 1000px;height:400px;overflow: scroll">
                 <table class="layui-table">
                     <colgroup>
                         <col>

--
Gitblit v1.9.1