|
@ -14845,7 +14845,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
public List<Map<String, Object>> selectPriceTotal(String startTime,String endTime){
|
|
|
List<Map<String, Object>> mapList = new ArrayList<>();
|
|
|
Map<String, Object> params = new HashedMap();
|
|
|
String sql =" SELECT ORDER_CATEGORY as \"orderCategory\",\"SUM\"(PAY_PRICE)/100 as \"payPrice\" FROM BASE_BUSINESS_ORDER_PAY WHERE ORDER_CATEGORY IN(1,2,3,4) and STATUS=1 ";
|
|
|
String sql =" SELECT ORDER_CATEGORY as \"orderCategory\",SUM(PAY_PRICE)/100 as \"payPrice\" FROM BASE_BUSINESS_ORDER_PAY WHERE ORDER_CATEGORY IN(1,2,3,4) and STATUS=1 ";
|
|
|
if ("xm_ykyy_wx".equalsIgnoreCase(wechatId)) {
|
|
|
sql+=" and create_time <= to_date('" + endTime + "', 'yyyy-mm-dd hh24:mi:ss') ";
|
|
|
} else {
|
|
@ -14895,10 +14895,10 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
String j2="";
|
|
|
String j3 ="";
|
|
|
String j4="";
|
|
|
String price1 = "";
|
|
|
String price2 = "";
|
|
|
String price3 = "";
|
|
|
String price4 = "";
|
|
|
String price1 = "0";
|
|
|
String price2 = "0";
|
|
|
String price3 = "0";
|
|
|
String price4 = "0";
|
|
|
for (Map<String, Object> m : ls) {
|
|
|
if (m.get("orderCategory").toString().equalsIgnoreCase("1")){
|
|
|
j1 = m.get("orderCategory").toString();
|