This commit is contained in:
parent
da3cc8fbaf
commit
f29ae556fc
|
|
@ -363,8 +363,10 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
|||
|
||||
// 电子签名进行base64拼接
|
||||
if (StringUtils.isNotBlank(info.getLeaseSignUrl())) {
|
||||
if (!info.getLeaseSignUrl().startsWith("http")) {
|
||||
info.setLeaseSignUrl("data:image/png;base64," + info.getLeaseSignUrl());
|
||||
}
|
||||
}
|
||||
/** 设置发料单位 防止代码冲突 **/
|
||||
|
||||
leaseApplyRequestVo.setLeaseApplyInfo(info);
|
||||
|
|
@ -388,9 +390,11 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
|||
if (!CollectionUtils.isEmpty(approveSignList)) {
|
||||
for (LeaseOutSign leaseOutSign : approveSignList) {
|
||||
if (StringUtils.isNotBlank(leaseOutSign.getOutSignUrl())) {
|
||||
if (!leaseOutSign.getOutSignUrl().startsWith("http")) {
|
||||
leaseOutSign.setOutSignUrl("data:image/png;base64," + leaseOutSign.getOutSignUrl());
|
||||
}
|
||||
}
|
||||
}
|
||||
leaseApplyRequestVo.setApproveSignList(approveSignList);
|
||||
}
|
||||
}
|
||||
|
|
@ -400,9 +404,11 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
|||
if (!CollectionUtils.isEmpty(outSignList)) {
|
||||
for (LeaseOutSign applyInfo : outSignList) {
|
||||
if (StringUtils.isNotBlank(applyInfo.getOutSignUrl())) {
|
||||
if (!applyInfo.getOutSignUrl().startsWith("http")) {
|
||||
applyInfo.setOutSignUrl("data:image/png;base64," + applyInfo.getOutSignUrl());
|
||||
}
|
||||
}
|
||||
}
|
||||
leaseApplyRequestVo.setKgSignList(outSignList);
|
||||
}
|
||||
// 根据id查询领料出库情况,查询材料员电子签名详情
|
||||
|
|
@ -410,7 +416,11 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
|||
bean.setConfirmPerson(details.get(0).getConfirmPerson());
|
||||
LeaseConfirmSign confirmSign = leaseApplyInfoMapper.getLeaseConfirmSign(bean);
|
||||
if(confirmSign != null){
|
||||
if (StringUtils.isNotBlank(confirmSign.getConfirmSignUrl())) {
|
||||
if (!confirmSign.getConfirmSignUrl().startsWith("http")) {
|
||||
confirmSign.setConfirmSignUrl("data:image/png;base64," + confirmSign.getConfirmSignUrl());
|
||||
}
|
||||
}
|
||||
leaseApplyRequestVo.setConfirmSign(confirmSign);
|
||||
}
|
||||
}
|
||||
|
|
@ -420,9 +430,11 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
|||
if (!CollectionUtils.isEmpty(signList)) {
|
||||
for (LeaseOutSign applyInfo : signList) {
|
||||
if (StringUtils.isNotBlank(applyInfo.getOutSignUrl())) {
|
||||
if (!applyInfo.getOutSignUrl().startsWith("http")) {
|
||||
applyInfo.setOutSignUrl("data:image/png;base64," + applyInfo.getOutSignUrl());
|
||||
}
|
||||
}
|
||||
}
|
||||
leaseApplyRequestVo.setOutSignList(signList);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -231,7 +231,11 @@ public class ProAuthorizeServiceImpl implements ProAuthorizeService {
|
|||
// 电子签名进行base64拼接
|
||||
if(!detailsList.isEmpty()){
|
||||
detailsList.forEach(details -> {
|
||||
if (StringUtils.isNotBlank(details.getSignName())) {
|
||||
if (!details.getSignName().startsWith("http")) {
|
||||
details.setSignName("data:image/png;base64," + details.getSignName());
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
info.setDetailsList(detailsList);
|
||||
|
|
|
|||
|
|
@ -914,8 +914,10 @@ public class PurchaseCheckInfoServiceImpl implements IPurchaseCheckInfoService {
|
|||
purchaseSignRecordUserSignList = signProcessMapper.getPurchaseSignUrlListByTaskId(purchaseCheckDetails.getTaskId());
|
||||
for (PurchaseSignRecord purchaseSignRecord : purchaseSignRecordUserSignList) {
|
||||
if (StringUtils.isNotBlank(purchaseSignRecord.getSignUrl())) {
|
||||
if (!purchaseSignRecord.getSignUrl().startsWith("http")) {
|
||||
purchaseSignRecord.setSignUrl("data:image/png;base64," + purchaseSignRecord.getSignUrl());
|
||||
}
|
||||
}
|
||||
purchaseSignRecordMap.put(purchaseSignRecord.getSignUrl(), purchaseSignRecord);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue