|
@@ -151,9 +151,25 @@ public class SpplyService extends CommonService {
|
151
|
151
|
entity.setMgrNm(saveSpplyRequest.getMgrNm());
|
152
|
152
|
entity.setAreaCd(saveSpplyRequest.getAreaCd());
|
153
|
153
|
entity.setMgrEmal(saveSpplyRequest.getMgrEmal());
|
154
|
|
- entity.setMgrTelNo(saveSpplyRequest.getMgrTelNo().replaceAll("-",""));
|
155
|
|
- entity.setMgrMblNo(saveSpplyRequest.getMgrMblNo().replaceAll("-",""));
|
156
|
|
- entity.setFaxNo(saveSpplyRequest.getFaxNo().replaceAll("-",""));
|
|
154
|
+
|
|
155
|
+ if ("".toString().equals(saveSpplyRequest.getMgrTelNo())) {
|
|
156
|
+ entity.setMgrTelNo(null);
|
|
157
|
+ } else {
|
|
158
|
+ entity.setMgrTelNo(saveSpplyRequest.getMgrTelNo().replaceAll("-",""));
|
|
159
|
+ }
|
|
160
|
+
|
|
161
|
+ if ("".toString().equals(saveSpplyRequest.getMgrMblNo())) {
|
|
162
|
+ entity.setMgrMblNo(null);
|
|
163
|
+ } else {
|
|
164
|
+ entity.setMgrMblNo(saveSpplyRequest.getMgrMblNo().replaceAll("-",""));
|
|
165
|
+ }
|
|
166
|
+
|
|
167
|
+ if ("".toString().equals(saveSpplyRequest.getFaxNo())) {
|
|
168
|
+ entity.setFaxNo(null);
|
|
169
|
+ } else {
|
|
170
|
+ entity.setFaxNo(saveSpplyRequest.getFaxNo().replaceAll("-",""));
|
|
171
|
+ }
|
|
172
|
+
|
157
|
173
|
entity.setZipNo(saveSpplyRequest.getZipNo());
|
158
|
174
|
entity.setAddr1(saveSpplyRequest.getAddr1());
|
159
|
175
|
entity.setAddr2(saveSpplyRequest.getAddr2());
|