Compare commits
No commits in common. "ab5213f3655b41d9a687196ed9788dd4d6df93ae" and "007363d7693473a30794b1cddbee64094a3b66d1" have entirely different histories.
ab5213f365
...
007363d769
@ -4,7 +4,6 @@ import com.interplug.qcast.biz.user.dto.StoreRequest;
|
||||
import com.interplug.qcast.biz.user.dto.StoreSyncResquest;
|
||||
import com.interplug.qcast.biz.user.dto.UserRequest;
|
||||
import com.interplug.qcast.biz.user.dto.UserResponse;
|
||||
import io.micrometer.common.util.StringUtils;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import java.util.List;
|
||||
@ -42,14 +41,6 @@ public class UserController {
|
||||
public UserResponse setStoreSave(@RequestBody StoreRequest storeReq) throws Exception {
|
||||
UserResponse userResponse = new UserResponse();
|
||||
|
||||
// 판매점의 우편번호 등록시 하이픈이 없다면 셋제짜리 이후에 하이픈 조합으로 등록처리(2026.04.30 이병곤 과장 추가 요청)
|
||||
String zipNo = storeReq.getZipNo();
|
||||
if (!StringUtils.isEmpty(zipNo)
|
||||
&& !zipNo.contains("-")
|
||||
&& zipNo.length() >= 4
|
||||
&& zipNo.length() <= 9) {
|
||||
storeReq.setZipNo(zipNo.substring(0, 3) + "-" + zipNo.substring(3));
|
||||
}
|
||||
int resultCnt = userService.setStoreSave(storeReq);
|
||||
|
||||
if (resultCnt > 0) userResponse.setCode("200");
|
||||
|
||||
@ -93,12 +93,6 @@ public class UserService {
|
||||
? ""
|
||||
: storeRequest.getSaleStoreLevel();
|
||||
|
||||
// 판매점의 우편번호 등록시 하이픈이 없다면 셋제짜리 이후에 하이픈 조합으로 등록처리(2026.04.30 이병곤 과장 추가 요청)
|
||||
String zipNo = storeRequest.getZipNo();
|
||||
if (!StringUtils.isEmpty(zipNo) && !zipNo.contains("-") && zipNo.length() >= 4 && zipNo.length() <= 9) {
|
||||
storeRequest.setZipNo(zipNo.substring(0, 3) + "-" + zipNo.substring(3));
|
||||
}
|
||||
|
||||
userMapper.setStoreSave(storeRequest);
|
||||
userMapper.setStoreInfoSave(storeRequest);
|
||||
userMapper.setStoreSapCdSave(storeRequest);
|
||||
@ -192,12 +186,6 @@ public class UserService {
|
||||
? ""
|
||||
: storeRequest.getSaleStoreLevel();
|
||||
|
||||
// 판매점의 우편번호 등록시 하이픈이 없다면 셋제짜리 이후에 하이픈 조합으로 등록처리(2026.04.30 이병곤 과장 추가 요청)
|
||||
String zipNo = storeRequest.getZipNo();
|
||||
if (!StringUtils.isEmpty(zipNo) && !zipNo.contains("-") && zipNo.length() >= 4 && zipNo.length() <= 9) {
|
||||
storeRequest.setZipNo(zipNo.substring(0, 3) + "-" + zipNo.substring(3));
|
||||
}
|
||||
|
||||
userMapper.setStoreSave(storeRequest);
|
||||
userMapper.setStoreInfoSave(storeRequest);
|
||||
userMapper.setStoreSapCdSave(storeRequest);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user