中扬CRM客户关系管理系统
Junjie
2023-11-10 578c84810e978be343ef93f214da91c27917eef1
Merge remote-tracking branch 'origin/zycrm' into zycrm
4个文件已修改
35 ■■■■■ 已修改文件
src/main/java/com/zy/crm/manager/task/handler/CstmrCopyHandler.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/plan/plan.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/priOnline2/priOnline.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/priQuote/priQuote.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);
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>
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>
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>