This commit is contained in:
parent
fc2e85c832
commit
d735f63b5d
|
|
@ -220,6 +220,12 @@ public class LeaseApplyDetails extends BaseEntity {
|
||||||
@ApiModelProperty(value = "默认0 不是立体库,1 立体库")
|
@ApiModelProperty(value = "默认0 不是立体库,1 立体库")
|
||||||
private Integer isRs;
|
private Integer isRs;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "签名URL")
|
||||||
|
private String leaseSignUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "签名类型")
|
||||||
|
private int leaseSignType;
|
||||||
|
|
||||||
public LeaseApplyDetails(Long id, Long parentId, Long typeId, BigDecimal preNum, BigDecimal auditNum, BigDecimal alNum, String status, Long companyId) {
|
public LeaseApplyDetails(Long id, Long parentId, Long typeId, BigDecimal preNum, BigDecimal auditNum, BigDecimal alNum, String status, Long companyId) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.parentId = parentId;
|
this.parentId = parentId;
|
||||||
|
|
|
||||||
|
|
@ -1807,8 +1807,8 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
||||||
if (leaseApplyDetails != null) {
|
if (leaseApplyDetails != null) {
|
||||||
// 将leaseApplyDetails中的signUrl和signType设置到leaseApplyRequestVo.getLeaseApplyDetailsList()
|
// 将leaseApplyDetails中的signUrl和signType设置到leaseApplyRequestVo.getLeaseApplyDetailsList()
|
||||||
leaseApplyRequestVo.getLeaseApplyDetailsList().forEach(bean -> {
|
leaseApplyRequestVo.getLeaseApplyDetailsList().forEach(bean -> {
|
||||||
bean.setSignUrl(leaseApplyDetails.getSignUrl() );
|
bean.setLeaseSignUrl(leaseApplyDetails.getSignUrl() );
|
||||||
bean.setSignType(leaseApplyDetails.getSignType());
|
bean.setLeaseSignType(leaseApplyDetails.getSignType());
|
||||||
bean.setCompanyId(leaseApplyRequestVo.getLeaseApplyInfo().getCompanyId());
|
bean.setCompanyId(leaseApplyRequestVo.getLeaseApplyInfo().getCompanyId());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
(#{item.parentId,jdbcType=INTEGER}, #{item.typeId,jdbcType=INTEGER}, #{item.preNum,jdbcType=INTEGER},
|
(#{item.parentId,jdbcType=INTEGER}, #{item.typeId,jdbcType=INTEGER}, #{item.preNum,jdbcType=INTEGER},
|
||||||
#{item.alNum,jdbcType=INTEGER}, #{item.status,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR},
|
#{item.alNum,jdbcType=INTEGER}, #{item.status,jdbcType=VARCHAR}, #{item.createBy,jdbcType=VARCHAR},
|
||||||
NOW(), #{item.updateBy,jdbcType=VARCHAR}, NOW(),
|
NOW(), #{item.updateBy,jdbcType=VARCHAR}, NOW(),
|
||||||
#{item.remark,jdbcType=VARCHAR}, #{item.companyId,jdbcType=INTEGER}, #{item.signUrl}, #{item.signType})
|
#{item.remark,jdbcType=VARCHAR}, #{item.companyId,jdbcType=INTEGER}, #{item.leaseSignUrl}, #{item.leaseSignType})
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|
@ -944,7 +944,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
from lease_apply_details
|
from lease_apply_details
|
||||||
where lease_sign_url is not null
|
where lease_sign_url is not null
|
||||||
AND lease_sign_type is not null
|
AND lease_sign_type is not null
|
||||||
AND parent_id = #{parentId}
|
AND parent_id = #{id}
|
||||||
Limit 1
|
Limit 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue