Commit fb9ece89 authored by Quxl's avatar Quxl

x

parent e1605fc1
......@@ -469,8 +469,9 @@ public class UserServiceImpl implements UserService {
addrMap.put("sPostalcode", "000000");
addrMap.put("sAddress", address);
addrMap.put("nTag", 4);
addrMap.put("sCreateUser", "admin");
addrMap.put("sCreateUser", customerName);
addrMap.put("dCreateDate", new Date());
addrMap.put("dLastUpdateTime", new Date());
jdbcTemplate.save("tCustAddress", addrMap);
} else {
Map<String, Object> addrMap = addrList.get(0);
......@@ -483,6 +484,7 @@ public class UserServiceImpl implements UserService {
addrMap.put("sCity", cityName);
addrMap.put("sDistrict", districtName);
addrMap.put("sAddress", address);
addrMap.put("dLastUpdateTime", new Date());
jdbcTemplate.updateByColumn("tCustAddress", new String[] {"sAddrID"}, addrMap);
}
int count = jdbcTemplate.queryForInt("select count(*) from tShopCertif where sShopNO = ? and sCertifTypeID = ? and sCertifNO = ?", new Object[] {shopNo, certifTypeID, certifNO});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment