dev
parent
46ea632571
commit
9ab9bfe8e1
|
|
@ -29,7 +29,6 @@ public class OrderStatService {
|
|||
* @param supermarket_id 砂站id
|
||||
* @param trans_co_id 物流公司id
|
||||
* @param customer_id 客户id
|
||||
* @param customer_name 客户名称
|
||||
* @param type 订单类型 1 销售(配送)订单, 3 外销(临时)订单
|
||||
* @param truck_license 车牌号
|
||||
* @param isprepaid 是否预付费
|
||||
|
|
@ -40,7 +39,6 @@ public class OrderStatService {
|
|||
Integer supermarket_id,
|
||||
Integer trans_co_id,
|
||||
Integer customer_id,
|
||||
String customer_name,
|
||||
Integer type,
|
||||
String truck_license,
|
||||
Integer isprepaid,
|
||||
|
|
@ -100,11 +98,8 @@ public class OrderStatService {
|
|||
if (customer_type_id != null && customer_type_id > 0 && customer_type_id != 99) {
|
||||
temp_sql += " and c.customer_type_id = ? \n";
|
||||
paraTempList.add(customer_type_id);
|
||||
} else if(customer_type_id != null && customer_type_id == 99) {
|
||||
} else if(customer_type_id != null && customer_type_id == 99) { // 散户
|
||||
temp_sql += " and t.customer_id is null \n";
|
||||
} else if (StrKit.notBlank(customer_name) && customer_type_id == null) {
|
||||
temp_sql += " and t.customer_name like ? \n";
|
||||
paraTempList.add("%" + customer_name.trim() + "%");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -165,7 +160,6 @@ public class OrderStatService {
|
|||
Integer supermarket_id,
|
||||
Integer trans_co_id,
|
||||
Integer customer_id,
|
||||
String customer_name,
|
||||
Integer type,
|
||||
String truck_license,
|
||||
Integer isprepaid,
|
||||
|
|
@ -177,7 +171,6 @@ public class OrderStatService {
|
|||
supermarket_id,
|
||||
trans_co_id,
|
||||
customer_id,
|
||||
customer_name,
|
||||
type,
|
||||
truck_license,
|
||||
isprepaid,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ public class OrderStatController extends BaseController {
|
|||
@Before(DayValidator.class)
|
||||
public void daydetail() {
|
||||
String tm = get("tm");
|
||||
String customer_name = get("customer_name");
|
||||
String truck_license = getUpperCaseVal("truck_license");
|
||||
String sn = get("sn");
|
||||
Integer supermarket_id = getInt("supermarket_id");
|
||||
|
|
@ -37,7 +36,6 @@ public class OrderStatController extends BaseController {
|
|||
supermarket_id,
|
||||
trans_co_id,
|
||||
customer_id,
|
||||
customer_name,
|
||||
type,
|
||||
truck_license,
|
||||
isprepaid,
|
||||
|
|
@ -51,7 +49,6 @@ public class OrderStatController extends BaseController {
|
|||
supermarket_id,
|
||||
trans_co_id,
|
||||
customer_id,
|
||||
customer_name,
|
||||
type,
|
||||
truck_license,
|
||||
isprepaid,
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ public class OrderStatController extends BaseController {
|
|||
@Before(DayValidator.class)
|
||||
public void daydetail() {
|
||||
String tm = get("tm");
|
||||
String customer_name = get("customer_name");
|
||||
String truck_license = getUpperCaseVal("truck_license");
|
||||
String sn = get("sn");
|
||||
Integer supermarket_id = getInt("supermarket_id");
|
||||
|
|
@ -54,7 +53,6 @@ public class OrderStatController extends BaseController {
|
|||
supermarket_id,
|
||||
trans_co_id,
|
||||
customer_id,
|
||||
customer_name,
|
||||
type,
|
||||
truck_license,
|
||||
isprepaid,
|
||||
|
|
@ -68,7 +66,6 @@ public class OrderStatController extends BaseController {
|
|||
supermarket_id,
|
||||
trans_co_id,
|
||||
customer_id,
|
||||
customer_name,
|
||||
type,
|
||||
truck_license,
|
||||
isprepaid,
|
||||
|
|
|
|||
Loading…
Reference in New Issue