Commit 83ba01ab by jianan

电子报聘微信二维码和薪资单问题修复

parent 759b8fde
...@@ -727,7 +727,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService ...@@ -727,7 +727,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
} }
Long basicInfoId = requestVO.getHiringBasicInfoId(); Long basicInfoId = requestVO.getHiringBasicInfoId();
String imgUrl = this.uploadImageToOss(mediaId, basicInfoId, 9); String imgUrl = this.uploadImageToOss(mediaId, basicInfoId, 10);
if (imgUrl == null) { if (imgUrl == null) {
resp.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("830024"))); resp.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("830024")));
...@@ -1111,7 +1111,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService ...@@ -1111,7 +1111,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
} }
private String generateKey(int targetUseFor) { private String generateKey(int targetUseFor) {
SimpleDateFormat sdf = new SimpleDateFormat("yyMMdd"); SimpleDateFormat sdf = new SimpleDateFormat("yyMMddHHmmssS");
return targetUseFor + sdf.format(new Date()); return targetUseFor + sdf.format(new Date());
} }
......
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