Commit 9622ffe2 by zhanghj

V1.2.0--完善订货单物流功能

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21999 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent e8ffd108
...@@ -17,7 +17,7 @@ public class SysIndentLogistics { ...@@ -17,7 +17,7 @@ public class SysIndentLogistics {
private String logisticsUnicode; private String logisticsUnicode;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") @DateTimeFormat(pattern = "yyyy-MM-dd")
private Date logisticsTime; private Date logisticsTime;
private String remark; private String remark;
......
...@@ -32,9 +32,11 @@ public class IndentLogisticsServiceImpl implements IndentLogisticsService{ ...@@ -32,9 +32,11 @@ public class IndentLogisticsServiceImpl implements IndentLogisticsService{
// TODO Auto-generated method stub // TODO Auto-generated method stub
Integer id = indentLogistics.getId(); Integer id = indentLogistics.getId();
Integer userId = UserUtils.getUserId(request); Integer userId = UserUtils.getUserId(request);
Integer indentId = indentLogistics.getIndentId();
SysIndentLogistics sysIndentLogistics = indentLogisticsDao.getByIndentId(indentId);
Date now = new Date(); Date now = new Date();
int num = 0; int num = 0;
if (id == null) { if (sysIndentLogistics == null) {
indentLogistics.setCreateBy(userId); indentLogistics.setCreateBy(userId);
indentLogistics.setCreateTime(now); indentLogistics.setCreateTime(now);
indentLogistics.setUpdateBy(userId); indentLogistics.setUpdateBy(userId);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!