Commit 31fc640f authored by Quxl's avatar Quxl

x

parent bf27c40b
...@@ -508,7 +508,7 @@ public class UserServiceImpl implements UserService { ...@@ -508,7 +508,7 @@ public class UserServiceImpl implements UserService {
String sMobile = (String)custMap.get("sMobile"); String sMobile = (String)custMap.get("sMobile");
jdbcTemplate.update("update tCustomer set sCustName = ? where sCustNO = ?", customerName, custNo); jdbcTemplate.update("update tCustomer set sCustName = ? where sCustNO = ?", customerName, custNo);
jdbcTemplate.update("update tCustomer set nTag = 4 where sCustNO = ? and nTag&2 != 2", custNo); jdbcTemplate.update("update tCustomer set nTag = 4 where sCustNO = ? and nTag&2 != 2", custNo);
jdbcTemplate.update("update tShop set sShopName = ? sMainBusiness = ?, sProvinceID = ?, sCityID = ?, sDistrictID = ?, sAddress = ?, sEmail = ?, sMemo = ?, sSalesmanNO1 = ? where nShopID = ?", shopName, mainBusiness, provinceId, cityId, districtId, address, email, memo, salesmanNO1, shopId); jdbcTemplate.update("update tShop set sShopName = ?, sMainBusiness = ?, sProvinceID = ?, sCityID = ?, sDistrictID = ?, sAddress = ?, sEmail = ?, sMemo = ?, sSalesmanNO1 = ? where nShopID = ?", shopName, mainBusiness, provinceId, cityId, districtId, address, email, memo, salesmanNO1, shopId);
List<Map<String, Object>> addrList = jdbcTemplate.queryForList("select * from tCustAddress where sCustNO = ? and sShopNO = ? and nTag&5 = 4", custNo, shopNo); List<Map<String, Object>> addrList = jdbcTemplate.queryForList("select * from tCustAddress where sCustNO = ? and sShopNO = ? and nTag&5 = 4", custNo, shopNo);
......
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