Commit 1d03f784 by wubh

包活干V1.9.1-修改:逻辑修复

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28071 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 7e2633b4
...@@ -87,12 +87,14 @@ public class DscFeedbackServiceImpl implements DscFeedbackService { ...@@ -87,12 +87,14 @@ public class DscFeedbackServiceImpl implements DscFeedbackService {
this.logger.info("==== DscFeedbackService syncOrder param: {}", data.toJSONString()); this.logger.info("==== DscFeedbackService syncOrder param: {}", data.toJSONString());
Integer orderId = data.getInteger("orderId"); Integer orderId = data.getInteger("orderId");
SysOrder order = orderMapper.selectByPrimaryKey(orderId); SysOrder order = orderMapper.selectByPrimaryKey(orderId);
List<SysOrderDevice> orderDeviceList = data.getJSONArray("orderDeviceList") List<SysOrderDevice> orderDeviceList;
.toJavaList(SysOrderDevice.class);
DSCResultObject dscResult; DSCResultObject dscResult;
try { try {
this.logger.info("==== syncOrder order = {}", JSON.toJSONString(order)); this.logger.info("==== syncOrder order = {}", JSON.toJSONString(order));
orderDeviceList = data.containsKey("orderDeviceList")
? data.getJSONArray("orderDeviceList").toJavaList(SysOrderDevice.class)
: new ArrayList<>();
if (BizConstants.DA_SOU_CHE.equalsIgnoreCase(order.getChannel())) { if (BizConstants.DA_SOU_CHE.equalsIgnoreCase(order.getChannel())) {
if (BizConstants.ORDER_TYPE_INSTALL == order.getOrderType()) { if (BizConstants.ORDER_TYPE_INSTALL == order.getOrderType()) {
// 安装单 // 安装单
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!