Commit 4df40d95fb4b61edcd48a3a0c65b1559514a3639

Authored by wangbo
1 parent f0979b011d
Exists in master and in 1 other branch dev

优惠券导出

Showing 7 changed files with 405 additions and 7 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/BasicConfigServiceTest.java View file @ 4df40d9
... ... @@ -4008,6 +4008,7 @@
4008 4008  
4009 4009 /**
4010 4010 * 保存承德工位乡镇机构id
  4011 + *
4011 4012 * @param fileName
4012 4013 */
4013 4014 public static void saveCdgwOrg(String fileName) {
... ... @@ -4038,8 +4039,7 @@
4038 4039 //遍历每行中的每列
4039 4040 for (int j = 0; j < cells.length; j++) {
4040 4041 String str = cells[j].getContents().trim();
4041   - if (StringUtils.isEmpty(str))
4042   - {
  4042 + if (StringUtils.isEmpty(str)) {
4043 4043 continue;
4044 4044 }
4045 4045 switch (j) {
... ... @@ -4074,6 +4074,7 @@
4074 4074  
4075 4075 /**
4076 4076 * 承德工位乡镇机构与居委会对应关系
  4077 + *
4077 4078 * @param fileName
4078 4079 */
4079 4080 public static void saveCdgwOrgJwhRe(String fileName) {
... ... @@ -4099,8 +4100,7 @@
4099 4100 //遍历每行中的每列
4100 4101 for (int j = 0; j < cells.length; j++) {
4101 4102 String str = cells[j].getContents().trim();
4102   - if (StringUtils.isEmpty(str))
4103   - {
  4103 + if (StringUtils.isEmpty(str)) {
4104 4104 continue;
4105 4105 }
4106 4106 switch (j) {
4107 4107  
... ... @@ -4137,7 +4137,41 @@
4137 4137  
4138 4138 }
4139 4139  
  4140 + public static void Test(String fileName) {
  4141 + ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/spring/applicationContext_biz_patient1.xml");
  4142 + MongoTemplate mongoTemplate
  4143 + = (MongoTemplate) applicationContext.getBean("mongoTemplate");
  4144 + mongoTemplate.getDb().authenticate("platform", "platform123".toCharArray());
  4145 + File file = new File(fileName);
  4146 + Workbook wb = null;
  4147 + try {
  4148 + wb = Workbook.getWorkbook(file);
4140 4149  
  4150 + Sheet s = wb.getSheet(0);
  4151 + System.out.println(s.getName() + " : ");
  4152 + int rows = s.getRows();
  4153 + if (rows > 0) {
  4154 + //遍历每行
  4155 + for (int i = 1; i < rows; i++) {
  4156 + System.out.println("rows=" + i);
  4157 + Text pin = new Text();
  4158 + //0 健康教育之孕期相关 1 饮食 2 饮食之营养指南 3 运动
  4159 + pin.setYn("1");
  4160 + pin.setLl("15");
  4161 + pin.setLs(75);
  4162 + Cell[] cells = s.getRow(i);
  4163 + mongoTemplate.save(pin);
  4164 + }
  4165 +
  4166 + }
  4167 + } catch (IOException e) {
  4168 + e.printStackTrace();
  4169 + } catch (BiffException e) {
  4170 + e.printStackTrace();
  4171 + }
  4172 +
  4173 + }
  4174 +
4141 4175 public static void main(String[] args) {
4142 4176 // weightWeek("F:\\体重与营养管理\\体重与营养管理第三版(北方)改标红“、冰淇淋”-晓萌.xls");
4143 4177 // weightMange("F:\\体重与营养管理\\体重与营养管理第三版(北方)改标红“、冰淇淋”-晓萌.xls");
4144 4178  
... ... @@ -4155,10 +4189,11 @@
4155 4189 // babyNutritionConfig("F:\\儿童营养报告\\婴幼儿体重与营养管理报告内容及规则\\儿童膳食报告文章2.xls");
4156 4190 //xyPresentation("E:\\血压报告.xls");
4157 4191 //weightReport("E:\\体重营养报告10.xls");
4158   - renGaoZhen("G:\\妊高症风险.xls");
  4192 + //renGaoZhen("G:\\妊高症风险.xls");
  4193 + Test("G:\\text.xls");
4159 4194 // weightReport("E:\\体重营养报告10.xls");
4160 4195 // saveCdgwOrg("F:\\承德工位\\cdorg.xls");
4161   - saveCdgwOrgJwhRe("F:\承德工位\承德卫生机构与居委会对应关系表.xls");
  4196 + //saveCdgwOrgJwhRe("F:\承德工位\承德卫生机构与居委会对应关系表.xls");
4162 4197 }
4163 4198  
4164 4199 }
platform-dal/src/main/java/com/lyms/platform/pojo/Text.java View file @ 4df40d9
  1 +package com.lyms.platform.pojo;
  2 +
  3 +import org.springframework.data.mongodb.core.mapping.Document;
  4 +
  5 +@Document(collection = "lyms_text")
  6 +public class Text {
  7 + private String id;
  8 + private String yn;
  9 + private String ll;
  10 +
  11 + private Integer ls;
  12 +
  13 + public String getId() {
  14 + return id;
  15 + }
  16 +
  17 + public void setId(String id) {
  18 + this.id = id;
  19 + }
  20 +
  21 + public String getYn() {
  22 + return yn;
  23 + }
  24 +
  25 + public void setYn(String yn) {
  26 + this.yn = yn;
  27 + }
  28 +
  29 + public String getLl() {
  30 + return ll;
  31 + }
  32 +
  33 + public void setLl(String ll) {
  34 + this.ll = ll;
  35 + }
  36 +
  37 + public Integer getLs() {
  38 + return ls;
  39 + }
  40 +
  41 + public void setLs(Integer ls) {
  42 + this.ls = ls;
  43 + }
  44 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/OrgCouponController.java View file @ 4df40d9
... ... @@ -15,6 +15,7 @@
15 15 import org.springframework.web.bind.annotation.ResponseBody;
16 16  
17 17 import javax.servlet.http.HttpServletRequest;
  18 +import javax.servlet.http.HttpServletResponse;
18 19 import java.util.Date;
19 20 import java.util.Map;
20 21  
... ... @@ -39,5 +40,28 @@
39 40 "couponType", couponType, "currentPage", page, "pageSize", limit, "doctor", doctor, "key", key);
40 41 return orgCouponService.orgCouponInfo(param);
41 42 }
  43 +
  44 + /**
  45 + * @param request
  46 + * @param startDate
  47 + * @param endDate
  48 + * @param exportType 1 = 孕期优惠券使用统计详情导出, 2 = 产后优惠券使用统计详情导出, 3 = 儿童优惠券使用统计详情导出
  49 + * @param response
  50 +
  51 + * @param couponType
  52 + */
  53 + @ResponseBody
  54 + @TokenRequired
  55 + @RequestMapping(value = "/coupon/info/export", method = RequestMethod.GET)
  56 + public void couponInfoExport(HttpServletRequest request, HttpServletResponse response, Date startDate, Date endDate, Integer type,
  57 + String couponType, Integer exportType) {
  58 +
  59 + String hospitalId = autoMatchFacade.getHospitalId(getUserId(request));
  60 + Map<String, Object> param = CollectionUtils.createMap("userId", getUserId(request), "startDate", startDate,
  61 + "endDate", endDate != null ? DateUtil.addDay(endDate, 1) : endDate, "hospitalId", CollectionUtils.asList(hospitalId), "type", 4,
  62 + "couponType", couponType, "exportType", exportType);
  63 + orgCouponService.exportCouponInfo(param, response);
  64 + }
  65 +
42 66 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PihController.java View file @ 4df40d9
  1 +package com.lyms.platform.operate.web.controller;
  2 +
  3 +import com.lyms.platform.common.annotation.TokenRequired;
  4 +import com.lyms.platform.common.base.BaseController;
  5 +import com.lyms.platform.common.base.LoginContext;
  6 +import com.lyms.platform.common.result.BaseResponse;
  7 +import com.lyms.platform.common.result.RespBuilder;
  8 +import com.lyms.platform.common.utils.StringUtils;
  9 +import com.lyms.platform.operate.web.service.PihService;
  10 +import com.lyms.platform.pojo.PihParameterModel;
  11 +import org.springframework.beans.factory.annotation.Autowired;
  12 +import org.springframework.stereotype.Controller;
  13 +import org.springframework.util.Assert;
  14 +import org.springframework.web.bind.annotation.PathVariable;
  15 +import org.springframework.web.bind.annotation.RequestMapping;
  16 +import org.springframework.web.bind.annotation.RequestMethod;
  17 +import org.springframework.web.bind.annotation.ResponseBody;
  18 +
  19 +import javax.servlet.http.HttpServletRequest;
  20 +
  21 +
  22 +@Controller
  23 +@RequestMapping(value = "/pih")
  24 +public class PihController extends BaseController {
  25 +
  26 + @Autowired
  27 + private PihService pihService;
  28 +
  29 +
  30 + @ResponseBody
  31 + @RequestMapping(value = "/add", method = RequestMethod.POST)
  32 + public void addPih(PihParameterModel parameterModel) {
  33 + pihService.addPih(parameterModel);
  34 + }
  35 +
  36 +
  37 + @RequestMapping(value = "/query", method = RequestMethod.GET)
  38 + @ResponseBody
  39 + @TokenRequired
  40 + public BaseResponse queryAllPih(String key, Integer age, Integer weekEnd, Integer weekStart, String type, Integer state, Integer page, Integer limit, HttpServletRequest request) {
  41 + return pihService.queyAll(key, weekStart, weekEnd, age, type, state, page, limit, getUserId(request));
  42 + }
  43 +
  44 + @ResponseBody
  45 + @RequestMapping(value = "/queryInfo", method = RequestMethod.GET)
  46 + public BaseResponse query(String cardNo) {
  47 + if (StringUtils.isNotEmpty(cardNo)) {
  48 + return pihService.queryInfo(cardNo);
  49 + }
  50 + return RespBuilder.buildSuccess("请输入查询条件!");
  51 + }
  52 +
  53 + @RequestMapping(value = "/report/{id}", method = RequestMethod.GET)
  54 + @ResponseBody
  55 + @TokenRequired
  56 + public BaseResponse getPinReport(@PathVariable(value = "id") String id, HttpServletRequest request) {
  57 + return pihService.getPinReport(id, getUserId(request));
  58 + }
  59 +
  60 + protected Integer getUserId(HttpServletRequest request) {
  61 + LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
  62 + Assert.notNull(loginState, "未登录");
  63 + return loginState.getId();
  64 + }
  65 +
  66 +
  67 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/OrgCouponService.java View file @ 4df40d9
... ... @@ -2,11 +2,14 @@
2 2  
3 3 import com.lyms.platform.common.result.BaseObjectResponse;
4 4  
  5 +import javax.servlet.http.HttpServletResponse;
5 6 import java.util.Map;
6 7  
7 8 public interface OrgCouponService extends IBaseService {
8 9  
9 10 BaseObjectResponse orgCouponInfo(Map<String, Object> param);
  11 +
  12 + void exportCouponInfo(Map<String, Object> param, HttpServletResponse response);
10 13  
11 14 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/OrgCouponServiceImpl.java View file @ 4df40d9
... ... @@ -10,6 +10,7 @@
10 10 import com.lyms.platform.operate.web.service.OrgCouponService;
11 11 import com.lyms.platform.operate.web.utils.CollectionUtils;
12 12 import com.lyms.platform.operate.web.utils.PageUtil;
  13 +import com.lyms.platform.operate.web.utils.ResponseUtil;
13 14 import com.lyms.platform.permission.dao.master.CouponMapper;
14 15 import com.lyms.platform.pojo.*;
15 16 import com.lyms.platform.query.SieveApplyOrderQuery;
... ... @@ -22,6 +23,7 @@
22 23 import org.springframework.stereotype.Service;
23 24 import org.springframework.util.Assert;
24 25  
  26 +import javax.servlet.http.HttpServletResponse;
25 27 import java.util.*;
26 28  
27 29 @Service
... ... @@ -202,6 +204,229 @@
202 204 int count = couponMapper.findCouponInfoCount2(param);
203 205 PageResult pageResult = new PageResult(count, currentPage, (Integer) param.get("pageSize"), CollectionUtils.createMap("couponInfos", couponInfos, "subTitle", subTitle));
204 206 return RespBuilder.buildSuccess(pageResult);
  207 + }
  208 +
  209 + @Override
  210 + public void exportCouponInfo(Map<String, Object> param, HttpServletResponse response) {
  211 + param.put("needPage", false);
  212 +
  213 + BaseObjectResponse resp = orgCouponInfo(param);
  214 + PageResult pageResult = (PageResult) resp.getData();
  215 + Map<String, Object> map = (Map<String, Object>) pageResult.getGrid();
  216 + List<Map<String, Object>> couponInfos = (List<Map<String, Object>>) map.get("couponInfos");
  217 + List<Map<String, Object>> userSendInfos = (List<Map<String, Object>>) map.get("userSendInfos");
  218 +
  219 + /**
  220 + * 1 = 孕期优惠券使用统计详情导出
  221 + * 2 = 产后优惠券使用统计详情导出
  222 + * 3 = 儿童优惠券使用统计详情导出
  223 + */
  224 + Integer exportType = (Integer) param.get("exportType");
  225 +
  226 +// exportPostpartum(couponInfos, response);
  227 +
  228 + /**
  229 + * 1 = 发放人数 2 = 发放券数 3 = 使用人数 4 = 使用券数
  230 + */
  231 + Integer type = (Integer) param.get("type");
  232 + if (type == null) type = 4;
  233 + if (exportType == 1 && type == 1) { /** 孕期发放人数 */
  234 + exportPregnancy(couponInfos == null ? userSendInfos : couponInfos, response);
  235 + } else if (exportType == 1) { /** 孕期使用券数 */
  236 + exportPregnancyUsedInfo(couponInfos == null ? userSendInfos : couponInfos, response);
  237 + } else if (exportType == 2 && type == 1) { /** 产后发放统计 */
  238 + exportPostpartumSendInfo(couponInfos == null ? userSendInfos : couponInfos, response);
  239 + } else if (exportType == 2) { /** 产后使用 */
  240 + exportPostpartumUsedInfo(couponInfos == null ? userSendInfos : couponInfos, response);
  241 + } else if (exportType == 3 && type == 1) {/** 儿童发放 */
  242 + exportChildSendInfo(couponInfos == null ? userSendInfos : couponInfos, response);
  243 + } else if (exportType == 3) {/** 儿童使用 */
  244 + exportChildUsedInfo(couponInfos == null ? userSendInfos : couponInfos, response);
  245 + }
  246 + }
  247 +
  248 + private void exportPregnancy(List<Map<String, Object>> userSendInfos, HttpServletResponse response) {
  249 + Map<String, String> cnames = new LinkedHashMap<>();
  250 + cnames.put("id", "#");
  251 + cnames.put("create_date", "发放日期");
  252 + cnames.put("username", "姓名");
  253 + cnames.put("send_hospital", "发放机构");
  254 + cnames.put("doctoer_name", "发放医生");
  255 + cnames.put("residenceAddress", "居住地");
  256 + cnames.put("householdAddress", "户籍地");
  257 + cnames.put("phone", "联系电话");
  258 +
  259 + List<Map<String, Object>> results = new ArrayList<>();
  260 + int i = 0;
  261 + for (Map<String, Object> m : userSendInfos) {
  262 + Map<String, Object> result = new LinkedHashMap<>();
  263 + result.put("id", ++i);
  264 + result.put("create_date", m.get("create_date"));
  265 + result.put("username", m.get("username"));
  266 + result.put("send_hospital", m.get("send_hospital"));
  267 + result.put("doctoer_name", m.get("doctoer_name"));
  268 + result.put("householdAddress", m.get("householdAddress"));
  269 + result.put("residenceAddress", m.get("residenceAddress"));
  270 + result.put("phone", m.get("phone"));
  271 + results.add(result);
  272 + }
  273 + ResponseUtil.responseExcel(cnames, results, response);
  274 + }
  275 +
  276 + private void exportChildUsedInfo(List<Map<String, Object>> data, HttpServletResponse response) {
  277 + Map<String, String> cnames = new LinkedHashMap<>();
  278 + cnames.put("id", "#");
  279 + cnames.put("use_date", "使用日期");
  280 + cnames.put("username", "姓名");
  281 + cnames.put("week", "使用时间");
  282 + cnames.put("type_desc", "优惠券");
  283 + cnames.put("sequence_id", "优惠券号");
  284 + cnames.put("operatorOrgName", "使用机构");
  285 + cnames.put("doctorName", "使用医生");
  286 + cnames.put("send_hospital", "优惠券发放机构");
  287 + cnames.put("phone", "联系电话");
  288 +
  289 + List<Map<String, Object>> results = new ArrayList<>();
  290 + int i = 0;
  291 + for (Map<String, Object> m : data) {
  292 + Map<String, Object> result = new LinkedHashMap<>();
  293 + result.put("id", ++i);
  294 + result.put("use_date", m.get("use_date"));
  295 + result.put("username", m.get("username"));
  296 + result.put("week", m.get("week"));
  297 + result.put("type_desc", m.get("type_desc"));
  298 + result.put("sequence_id", m.get("sequence_id"));
  299 + result.put("operatorOrgName", m.get("operatorOrgName"));
  300 + result.put("doctorName", m.get("doctorName"));
  301 + result.put("send_hospital", m.get("send_hospital"));
  302 + result.put("phone", m.get("phone"));
  303 + results.add(result);
  304 + }
  305 + ResponseUtil.responseExcel(cnames, results, response);
  306 + }
  307 +
  308 + private void exportChildSendInfo(List<Map<String, Object>> data, HttpServletResponse response) {
  309 + Map<String, String> cnames = new LinkedHashMap<>();
  310 + cnames.put("id", "#");
  311 + cnames.put("create_date", "发放日期");
  312 + cnames.put("username", "姓名");
  313 + cnames.put("send_hospital", "发放机构");
  314 + cnames.put("doctoer_name", "发放医生");
  315 + cnames.put("residenceAddress", "居住地");
  316 +// cnames.put("householdAddress", "户籍地");
  317 + cnames.put("phone", "联系电话");
  318 +
  319 + List<Map<String, Object>> results = new ArrayList<>();
  320 + int i = 0;
  321 + for (Map<String, Object> m : data) {
  322 + Map<String, Object> result = new LinkedHashMap<>();
  323 + result.put("id", ++i);
  324 + result.put("create_date", m.get("create_date"));
  325 + result.put("username", m.get("username"));
  326 + result.put("send_hospital", m.get("send_hospital"));
  327 + result.put("doctoer_name", m.get("doctoer_name"));
  328 + result.put("residenceAddress", m.get("residenceAddress"));
  329 +// result.put("householdAddress", m.get("householdAddress"));
  330 + result.put("phone", m.get("phone"));
  331 + results.add(result);
  332 + }
  333 + ResponseUtil.responseExcel(cnames, results, response);
  334 + }
  335 +
  336 +
  337 + private void exportPostpartumUsedInfo(List<Map<String, Object>> data, HttpServletResponse response) {
  338 + Map<String, String> cnames = new LinkedHashMap<>();
  339 + cnames.put("id", "#");
  340 + cnames.put("use_date", "使用日期");
  341 + cnames.put("username", "姓名");
  342 + cnames.put("week", "使用时间");
  343 + cnames.put("type_desc", "优惠券");
  344 + cnames.put("sequence_id", "优惠券号");
  345 + cnames.put("operatorOrgName", "使用机构");
  346 + cnames.put("doctorName", "使用医生");
  347 + cnames.put("send_hospital", "优惠券发放机构");
  348 + cnames.put("phone", "联系电话");
  349 +
  350 + List<Map<String, Object>> results = new ArrayList<>();
  351 + int i = 0;
  352 + for (Map<String, Object> m : data) {
  353 + Map<String, Object> result = new LinkedHashMap<>();
  354 + result.put("id", ++i);
  355 + result.put("phone", m.get("phone"));
  356 + result.put("use_date", m.get("use_date"));
  357 + result.put("username", m.get("username"));
  358 + result.put("week", m.get("week"));
  359 + result.put("type_desc", m.get("type_desc"));
  360 + result.put("sequence_id", m.get("sequence_id"));
  361 + result.put("operatorOrgName", m.get("operatorOrgName"));
  362 + result.put("doctorName", m.get("doctorName"));
  363 + result.put("send_hospital", m.get("send_hospital"));
  364 + result.put("phone", m.get("phone"));
  365 + results.add(result);
  366 + }
  367 + ResponseUtil.responseExcel(cnames, results, response);
  368 + }
  369 +
  370 + private void exportPostpartumSendInfo(List<Map<String, Object>> data, HttpServletResponse response) {
  371 + Map<String, String> cnames = new LinkedHashMap<>();
  372 + cnames.put("id", "#");
  373 + cnames.put("create_date", "发放日期");
  374 + cnames.put("username", "姓名");
  375 + cnames.put("send_hospital", "发放机构");
  376 + cnames.put("doctoer_name", "发放医生");
  377 + cnames.put("residenceAddress", "居住地");
  378 + cnames.put("householdAddress", "户籍地");
  379 + cnames.put("phone", "联系电话");
  380 +
  381 + List<Map<String, Object>> results = new ArrayList<>();
  382 + int i = 0;
  383 + for (Map<String, Object> m : data) {
  384 + Map<String, Object> result = new LinkedHashMap<>();
  385 + result.put("id", ++i);
  386 + result.put("create_date", m.get("create_date"));
  387 + result.put("username", m.get("username"));
  388 + result.put("send_hospital", m.get("send_hospital"));
  389 + result.put("doctoer_name", m.get("doctoer_name"));
  390 + result.put("residenceAddress", m.get("residenceAddress"));
  391 + result.put("householdAddress", m.get("householdAddress"));
  392 + result.put("phone", m.get("phone"));
  393 + results.add(result);
  394 + }
  395 + ResponseUtil.responseExcel(cnames, results, response);
  396 + }
  397 +
  398 + private void exportPregnancyUsedInfo(List<Map<String, Object>> data, HttpServletResponse response) {
  399 + Map<String, String> cnames = new LinkedHashMap<>();
  400 + cnames.put("id", "#");
  401 + cnames.put("use_date", "使用日期");
  402 + cnames.put("username", "姓名");
  403 + cnames.put("week", "使用孕周");
  404 + cnames.put("number", "产检第次");
  405 + cnames.put("type_desc", "优惠券");
  406 + cnames.put("sequence_id", "优惠券号");
  407 + cnames.put("operatorOrgName", "使用机构");
  408 + cnames.put("doctorName", "使用医生");
  409 + cnames.put("send_hospital", "优惠券发放机构");
  410 + cnames.put("phone", "联系电话");
  411 +
  412 + List<Map<String, Object>> results = new ArrayList<>();
  413 + int i = 0;
  414 + for (Map<String, Object> m : data) {
  415 + Map<String, Object> result = new LinkedHashMap<>();
  416 + result.put("id", ++i);
  417 + result.put("use_date", m.get("use_date"));
  418 + result.put("username", m.get("username"));
  419 + result.put("week", m.get("week"));
  420 + result.put("number", m.get("number"));
  421 + result.put("type_desc", m.get("type_desc"));
  422 + result.put("sequence_id", m.get("sequence_id"));
  423 + result.put("operatorOrgName", m.get("operatorOrgName"));
  424 + result.put("doctorName", m.get("doctorName"));
  425 + result.put("send_hospital", m.get("send_hospital"));
  426 + result.put("phone", m.get("phone"));
  427 + results.add(result);
  428 + }
  429 + ResponseUtil.responseExcel(cnames, results, response);
205 430 }
206 431  
207 432 private void setUsedInfo(Integer type, String usedId, String sequence_id, Date useDate, String
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TemporaryUserServiceImpl.java View file @ 4df40d9
... ... @@ -2,7 +2,6 @@
2 2  
3 3 import com.lyms.platform.biz.dal.ITemporaryUserDao;
4 4 import com.lyms.platform.biz.service.BasicConfigService;
5   -import com.lyms.platform.biz.service.CommonService;
6 5 import com.lyms.platform.common.constants.ErrorCodeConstants;
7 6 import com.lyms.platform.common.enums.HisptialRiskTypeEnum;
8 7 import com.lyms.platform.common.result.BaseObjectResponse;
... ... @@ -60,6 +59,7 @@
60 59 TemporaryUserModel temporaryUserModels = mongoTemplate.findOne(Query.query(criteria), TemporaryUserModel.class);
61 60 if (temporaryUserModels != null) {
62 61 temporaryUser.setModified(new Date());
  62 + //
63 63 temporaryUser.setYn("1");
64 64 temporaryUser.setBirth(DateUtil.parseYMD(temporaryUser.getBirthday()));
65 65 temporaryUser.setLastMenses(DateUtil.parseYMD(temporaryUser.getLastMenstrualPeriod()));