From fc868e56b1e8199d2c4267fae74c44cfa62a777f Mon Sep 17 00:00:00 2001 From: zjh <zjh@888> Date: 星期三, 31 一月 2024 09:13:51 +0800 Subject: [PATCH] zjh 本地 2024/01/31 -1 --- ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjOrderServiceImpl.java | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 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 c193672..e73a50c 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 @@ -10,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; /** @@ -231,8 +231,8 @@ map.put("tjNumber",tjNumber); map.put("compId",compId); map.put("tjname",tjname); - map.put("beginTime", DateUtil.beginOfDay(DateUtil.parse(beginTime))); - map.put("endTime",DateUtil.beginOfDay(DateUtil.parse(endTime))); + map.put("beginTime",beginTime); + map.put("endTime",endTime); List<List<?>> list = tjOrderMapper.getCunChuGuoChengCustomerList(map); Map<String,Object> map1=new HashMap<>(); map1.put("customers",list); @@ -240,4 +240,27 @@ 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); + } } -- Gitblit v1.8.0