Compare commits

..

No commits in common. "f163994bae6cb89c7cc51bb5e714d82a21869a54" and "733cfbcd8d6ed39eb96bb0bd6750a94f0026c0cc" have entirely different histories.

2 changed files with 1 additions and 16 deletions

View File

@ -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");

View File

@ -95,7 +95,7 @@ public class UserService {
// 판매점의 우편번호 등록시 하이픈이 없다면 셋제짜리 이후에 하이픈 조합으로 등록처리(2026.04.30 이병곤 과장 추가 요청)
String zipNo = storeRequest.getZipNo();
if (!StringUtils.isEmpty(zipNo) && !zipNo.contains("-") && zipNo.length() >= 4 && zipNo.length() <= 9) {
if (!StringUtils.isEmpty(zipNo) && !zipNo.contains("-") && zipNo.length() >= 4) {
storeRequest.setZipNo(zipNo.substring(0, 3) + "-" + zipNo.substring(3));
}
@ -192,12 +192,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);