fix: 自测问题修复。
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -22,6 +22,10 @@ public class BankCardLendDto extends BaseEntity implements Serializable
|
|||||||
@ApiModelProperty(value="银行卡名称")
|
@ApiModelProperty(value="银行卡名称")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
/** 银行卡号 */
|
||||||
|
@ApiModelProperty(value="银行卡号")
|
||||||
|
private String code;
|
||||||
|
|
||||||
/** 类型,1储蓄卡,2信用卡 */
|
/** 类型,1储蓄卡,2信用卡 */
|
||||||
@ApiModelProperty(value="类型,1储蓄卡,2信用卡")
|
@ApiModelProperty(value="类型,1储蓄卡,2信用卡")
|
||||||
private String type;
|
private String type;
|
||||||
@@ -30,6 +34,10 @@ public class BankCardLendDto extends BaseEntity implements Serializable
|
|||||||
@ApiModelProperty(value="网贷类型")
|
@ApiModelProperty(value="网贷类型")
|
||||||
private String lendType;
|
private String lendType;
|
||||||
|
|
||||||
|
/** 储蓄卡类型 */
|
||||||
|
@ApiModelProperty(value="储蓄卡类型")
|
||||||
|
private String debitType;
|
||||||
|
|
||||||
/** 信用卡id */
|
/** 信用卡id */
|
||||||
@ApiModelProperty(value="信用卡id")
|
@ApiModelProperty(value="信用卡id")
|
||||||
private Long creditCardId;
|
private Long creditCardId;
|
||||||
|
|||||||
@@ -55,8 +55,10 @@ public class AccountsTransferRecordServiceImpl implements IAccountsTransferRecor
|
|||||||
public AccountsTransferRecordVo selectAccountsTransferRecordById(Long id)
|
public AccountsTransferRecordVo selectAccountsTransferRecordById(Long id)
|
||||||
{
|
{
|
||||||
AccountsTransferRecordVo vo=accountsTransferRecordMapper.selectAccountsTransferRecordById(id);
|
AccountsTransferRecordVo vo=accountsTransferRecordMapper.selectAccountsTransferRecordById(id);
|
||||||
if(vo.getDealType().equals("2")){
|
if(vo.getDealType()!=null){
|
||||||
vo.setInAccountId(vo.getOutAccountId());
|
if(vo.getDealType().equals("2")){
|
||||||
|
vo.setInAccountId(vo.getOutAccountId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return vo;
|
return vo;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,21 @@ public class BankCardLendServiceImpl implements IBankCardLendService
|
|||||||
@Override
|
@Override
|
||||||
public BankCardLendVo selectBankCardLendById(Long id)
|
public BankCardLendVo selectBankCardLendById(Long id)
|
||||||
{
|
{
|
||||||
return bankCardLendMapper.selectBankCardLendById(id);
|
BankCardLendVo bankCard= bankCardLendMapper.selectBankCardLendById(id);
|
||||||
|
//修改名称加卡号
|
||||||
|
if(bankCard.getCode()!=null){
|
||||||
|
bankCard.setNameCode(bankCard.getName()+"("+ StringUtils.getLastNumberChars(4,bankCard.getCode()+")"));
|
||||||
|
}else {
|
||||||
|
bankCard.setNameCode(bankCard.getName());
|
||||||
|
}
|
||||||
|
if(!"null".equals(String.valueOf(bankCard.getBillDate()))) {
|
||||||
|
bankCard.setBillDateName(bankCard.getBillDate()+"号");
|
||||||
|
}
|
||||||
|
if(!"null".equals(String.valueOf(bankCard.getPayDate()))) {
|
||||||
|
bankCard.setPayDateName(bankCard.getPayDate()+"号");
|
||||||
|
}
|
||||||
|
|
||||||
|
return bankCard;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -39,7 +39,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<where>
|
<where>
|
||||||
a.del_flag='0'
|
a.del_flag='0'
|
||||||
<if test="name != null and name != ''"> and a.name like '%'|| #{name}||'%'</if>
|
<if test="name != null and name != ''"> and a.name like '%'|| #{name}||'%'</if>
|
||||||
|
<if test="code != null and code != ''"> and a.code like '%'|| #{code}||'%'</if>
|
||||||
<if test="type != null and type != ''"> and a.type = #{type}</if>
|
<if test="type != null and type != ''"> and a.type = #{type}</if>
|
||||||
|
<if test="debitType != null and debitType != ''"> and a.debit_type = #{debitType}</if>
|
||||||
<if test="creditCardId != null "> and a.id = #{creditCardId}</if>
|
<if test="creditCardId != null "> and a.id = #{creditCardId}</if>
|
||||||
<if test="lendType != null and lendType != ''"> and a.lend_type = #{lendType}</if>
|
<if test="lendType != null and lendType != ''"> and a.lend_type = #{lendType}</if>
|
||||||
</where>
|
</where>
|
||||||
|
|||||||
BIN
sql/20240620-sql/dump-intc_invest_dev-202406201231
Normal file
BIN
sql/20240620-sql/dump-intc_invest_dev-202406201231
Normal file
Binary file not shown.
BIN
sql/20240620-sql/dump-intc_invest_prod-202406201231
Normal file
BIN
sql/20240620-sql/dump-intc_invest_prod-202406201231
Normal file
Binary file not shown.
BIN
sql/20240620-sql/dump-intc_system-202406201231
Normal file
BIN
sql/20240620-sql/dump-intc_system-202406201231
Normal file
Binary file not shown.
Reference in New Issue
Block a user