lisai17@sina.com 2020-12-26 16:08:40 +08:00
parent dfec0eccca
commit 97ba46f3ab
2 changed files with 3 additions and 3 deletions

View File

@ -257,7 +257,7 @@ public class OrderclusterController extends BaseController {
} }
int ordercluster_id = getInt("id"); int ordercluster_id = getInt("id");
double total_weight = getParaToDouble("total_weight"); String total_weight = get("total_weight");
Date cutoff_time = getDate("cutoff_time"); Date cutoff_time = getDate("cutoff_time");
renderJson(OrderclusterSyncService.me.forwardCluster(ordercluster_id, new BigDecimal(total_weight), cutoff_time, tokenuser)); renderJson(OrderclusterSyncService.me.forwardCluster(ordercluster_id, new BigDecimal(total_weight), cutoff_time, tokenuser));
@ -273,7 +273,7 @@ public class OrderclusterController extends BaseController {
} }
int ordercluster_id = getInt("id"); int ordercluster_id = getInt("id");
double total_weight = getParaToDouble("total_weight"); String total_weight = get("total_weight");
Date cutoff_time = getDate("cutoff_time"); Date cutoff_time = getDate("cutoff_time");
String trucks = get("trucks"); String trucks = get("trucks");

View File

@ -158,7 +158,7 @@ public class RefundDetailController extends BaseController {
} }
String id = get("id"); String id = get("id");
BigDecimal amount = new BigDecimal(getParaToDouble("amount", 0d)); BigDecimal amount = new BigDecimal(get("amount"));
String serialnum = get("serialnum", ""); String serialnum = get("serialnum", "");
renderJson(RefundDetailSyncService.me.confirm(id, amount, serialnum, tokenuser)); renderJson(RefundDetailSyncService.me.confirm(id, amount, serialnum, tokenuser));