Merge branch 'master' of http://121.40.234.130:8899/root/lanzhouhailiang_one
This commit is contained in:
@@ -603,8 +603,11 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
data.put("box_width", box_width);
|
data.put("box_width", box_width);
|
||||||
data.put("box_high", box_high);
|
data.put("box_high", box_high);
|
||||||
|
|
||||||
|
String bundle_times_num = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("bundle_times_num").getValue();
|
||||||
Double box_length_value = Double.valueOf(box_length);
|
Double box_length_value = Double.valueOf(box_length);
|
||||||
if (box_length_value >= 772) {
|
Double box_bundle_times_num = Double.valueOf(bundle_times_num);
|
||||||
|
|
||||||
|
if (box_length_value >= box_bundle_times_num) {
|
||||||
data.put("bundle_times", 3);
|
data.put("bundle_times", 3);
|
||||||
} else {
|
} else {
|
||||||
data.put("bundle_times", 2);
|
data.put("bundle_times", 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user