Commit 5035349a by zhanghj

V1.2.0--提交增加订货单接口代码

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21638 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 747fa941
...@@ -29,7 +29,7 @@ public class BusinessException extends RuntimeException { ...@@ -29,7 +29,7 @@ public class BusinessException extends RuntimeException {
public static BusinessException create(int returnCode,String message){ public static BusinessException create(int returnCode,String message){
BusinessException businessException = new BusinessException(null); BusinessException businessException = new BusinessException(null);
businessException.resultEntity = ResultObject.err(String.valueOf(returnCode)).message(message); businessException.resultEntity = ResultObject.err(returnCode).message(message);
return businessException; return businessException;
} }
public static BusinessException create(ResultObject resultEntity){ public static BusinessException create(ResultObject resultEntity){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!