zjh
2024-03-05 b6f742f5fd549231c46cccd11647946422a6e93a
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,32 @@
        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();
    }
}