Commit 05757de4 by zhanghj

V1.5.1--提交订单修改异常问题修复

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25536 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent cdffa583
...@@ -43,7 +43,9 @@ public class TestController { ...@@ -43,7 +43,9 @@ public class TestController {
@RequestMapping(value="/get", method={RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value="/get", method={RequestMethod.GET, RequestMethod.POST})
public ResultObject index(Test test){ public ResultObject index(Test test){
try{ try{
logger.info("测试初始一些日志吧!");
test = testService.get(test); test = testService.get(test);
logger.info("测试test=" +test.toString());
}catch(Exception e){ }catch(Exception e){
} }
......
...@@ -18,5 +18,9 @@ public class Test { ...@@ -18,5 +18,9 @@ public class Test {
public void setUsername(String username) { public void setUsername(String username) {
this.username = username; this.username = username;
} }
@Override
public String toString() {
return "Test [id=" + id + ", username=" + username + "]";
}
} }
...@@ -499,7 +499,8 @@ public class StandardOrderServiceImpl implements StandardOrderService { ...@@ -499,7 +499,8 @@ public class StandardOrderServiceImpl implements StandardOrderService {
} }
} }
sysOrder.setServiceType(serviceType); sysOrder.setServiceType(serviceType);
Byte activeStatus = (byte) OrderActiveStatusEnum.ORDER_ACTIVE_STATUS_MERCHANT_HAS_SENT.getActiveStatus();
sysOrder.setActiveStatus(activeStatus);
SysOrder oldOrder = orderList.get(0); SysOrder oldOrder = orderList.get(0);
/* /*
* 根据商户资源匹配情况,自动派商户或技工, 修改工单,尽量做到不去调整原有的匹配关系 * 根据商户资源匹配情况,自动派商户或技工, 修改工单,尽量做到不去调整原有的匹配关系
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!