Commit 84487b4c authored by Quxl's avatar Quxl

x

parent 56f6f7e9
...@@ -543,7 +543,7 @@ public class UserServiceImpl implements UserService { ...@@ -543,7 +543,7 @@ public class UserServiceImpl implements UserService {
Map<String, Object> custMap = jdbcTemplate.queryForMap("select * from tCustomer where sCustNO = ?", custNo); Map<String, Object> custMap = jdbcTemplate.queryForMap("select * from tCustomer where sCustNO = ?", custNo);
String sMobile = (String)custMap.get("sMobile"); String sMobile = (String)custMap.get("sMobile");
jdbcTemplate.update("update tCustomer set sCustName = ?, nStoreCount = ? where sCustNO = ?", customerName, storeCount, custNo); jdbcTemplate.update("update tCustomer set sCustName = ?, nStoreCount = ? where sCustNO = ?", customerName, storeCount, custNo);
jdbcTemplate.update("update tCustomer set nTag = 4 where sCustNO = ? and nTag&2 != 2", custNo); jdbcTemplate.update("update tShop set nTag = nTag|4 where sShopNO = ? and nTag&2 = 0", shopNo);
jdbcTemplate.update("update tShop set sShopName = ?, sMainBusiness = ?, sProvinceID = ?, sCityID = ?, sDistrictID = ?, sProvince = ?, sCity = ?, sDistrict = ?, sAddress = ?, sEmail = ?, sSalesmanNO1 = ?, sMemo = ? where sShopNO = ?", shopName, mainBusiness, provinceId, cityId, districtId, provinceName, cityName, districtName, address, email, salesmanNO1, memo, shopNo); jdbcTemplate.update("update tShop set sShopName = ?, sMainBusiness = ?, sProvinceID = ?, sCityID = ?, sDistrictID = ?, sProvince = ?, sCity = ?, sDistrict = ?, sAddress = ?, sEmail = ?, sSalesmanNO1 = ?, sMemo = ? where sShopNO = ?", shopName, mainBusiness, provinceId, cityId, districtId, provinceName, cityName, districtName, address, email, salesmanNO1, memo, shopNo);
Integer count = jdbcTemplate.queryForInt("select count(*) from tShopkeeperShop where sShopNO = ? and sSalesmanNO = ?", shopNo, salesmanNO1); Integer count = jdbcTemplate.queryForInt("select count(*) from tShopkeeperShop where sShopNO = ? and sSalesmanNO = ?", shopNo, salesmanNO1);
......
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