From ed277ece348dae9bc6e36c0fc9f69ae8a3825912 Mon Sep 17 00:00:00 2001
From: lige <bestlige@outlook.com>
Date: 星期四, 18 四月 2024 17:57:55 +0800
Subject: [PATCH] 填鸭表单

---
 ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjOrderServiceImpl.java |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 52 insertions(+), 5 deletions(-)

diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjOrderServiceImpl.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjOrderServiceImpl.java
index a54d353..cc91c96 100644
--- a/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjOrderServiceImpl.java
+++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjOrderServiceImpl.java
@@ -1,10 +1,8 @@
 package com.ltkj.hosp.service.impl;
 
-import java.util.Date;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
 
+import cn.hutool.core.date.DateUtil;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.ltkj.common.utils.DateUtils;
 import com.ltkj.hosp.domain.DictComp;
@@ -12,13 +10,13 @@
 import com.ltkj.hosp.domain.TjPackage;
 import com.ltkj.hosp.service.IDictCompService;
 import com.ltkj.hosp.service.ITjCustomerService;
+import com.ltkj.hosp.service.ITjOrderService;
 import com.ltkj.hosp.service.ITjPackageService;
 import com.ltkj.hosp.vodomain.LineChartsVo;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import com.ltkj.hosp.mapper.TjOrderMapper;
 import com.ltkj.hosp.domain.TjOrder;
-import com.ltkj.hosp.service.ITjOrderService;
 import org.springframework.transaction.annotation.Transactional;
 
 /**
@@ -221,4 +219,53 @@
     public TjOrder getLastTjOrderListByCusId(Long userId) {
         return tjOrderMapper.getLastTjOrderListByCusId(userId);
     }
+
+    @Override
+    public Map<String,Object> getCunChuGuoChengCustomerList(String tjNumber, Integer page, Integer pageSize, Integer checkStatus,
+                                                          String compId, String beginTime, String endTime, String tjname) {
+
+        Map<String, Object> map = new HashMap<>();
+        map.put("checkStatus",checkStatus);
+        map.put("page",page);
+        map.put("pageSize",pageSize);
+        map.put("tjNumber",tjNumber);
+        map.put("compId",compId);
+        map.put("tjname",tjname);
+        map.put("beginTime",beginTime);
+        map.put("endTime",endTime);
+        List<List<?>> list = tjOrderMapper.getCunChuGuoChengCustomerList(map);
+        Map<String,Object> map1=new HashMap<>();
+        map1.put("customers",list);
+        map1.put("total",map.get("total"));
+
+        return map1;
+    }
+
+    @Override
+    public Map<String, Object> getCsCunChuGuoChengCustomerList(String tjNumber, Integer page, Integer pageSize, Integer checkStatus, String compId, String beginTime, String endTime, String tjname) {
+        Map<String, Object> map = new HashMap<>();
+        map.put("checkStatus",checkStatus);
+        map.put("page",page);
+        map.put("pageSize",pageSize);
+        map.put("tjNumber",tjNumber);
+        map.put("compId",compId);
+        map.put("tjname",tjname);
+        map.put("beginTime",beginTime);
+        map.put("endTime",endTime);
+        List<List<?>> list = tjOrderMapper.getCsCunChuGuoChengCustomerList(map);
+        Map<String,Object> map1=new HashMap<>();
+        map1.put("customers",list);
+        map1.put("total",map.get("total"));
+        return map1;
+    }
+
+    @Override
+    public int selectTjOrderByCardId(String cardId) {
+        return tjOrderMapper.selectTjOrderByCardId(cardId);
+    }
+
+    @Override
+    public List<String> selectTjOrderByCardId1() {
+        return tjOrderMapper.selectTjOrderByCardId1();
+    }
 }

--
Gitblit v1.8.0