Commit 6314381a by jianan

修复电子报聘保存薪资单照片覆盖人像照片bug

parent 90f41f38
......@@ -232,10 +232,6 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
@Override
public SavePersonPictureResponseVO savePersonPicture(SavePersonPictureRequestVO requestVO) {
System.out.println("----------电子报聘保存人像照片接口入参-------------");
System.out.println(requestVO);
SavePersonPictureResponseVO resp = new SavePersonPictureResponseVO();
try {
String mediaId = requestVO.getVxUrl();
......@@ -703,9 +699,6 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
@Override
public SavePayrollPictureResponseVO savePayrollPicture(SavePayRollPictureRequestVO requestVO) {
SavePayrollPictureResponseVO resp = new SavePayrollPictureResponseVO();
System.out.println("----------电子报聘保存薪资单接口入参-------------");
System.out.println(requestVO);
try {
String mediaId = requestVO.getVxUrl();
if (StringUtils.isEmpty(mediaId)) {
......@@ -714,7 +707,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
}
Long basicInfoId = requestVO.getHiringBasicInfoId();
String imgUrl = this.uploadImageToOss(mediaId, basicInfoId, 2);
String imgUrl = this.uploadImageToOss(mediaId, basicInfoId, 9);
if (imgUrl == null) {
resp.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("830024")));
......
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