Commit 04d8d65e by jianan

薪资单图片可为空

parent 17bbacaa
...@@ -657,6 +657,11 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService ...@@ -657,6 +657,11 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
SavePayrollPictureResponseVO resp = new SavePayrollPictureResponseVO(); SavePayrollPictureResponseVO resp = new SavePayrollPictureResponseVO();
try { try {
String mediaId = requestVO.getVxUrl(); String mediaId = requestVO.getVxUrl();
if (mediaId == null) {
resp.setCommonResult(new CommonResult(false, ZHBErrorConfig.getErrorInfo("800000")));
return resp;
}
Long basicInfoId = requestVO.getHiringBasicInfoId(); Long basicInfoId = requestVO.getHiringBasicInfoId();
String imgUrl = this.uploadImageToOss(mediaId, basicInfoId, 2); String imgUrl = this.uploadImageToOss(mediaId, basicInfoId, 2);
......
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