提交 8b7105d4 authored 作者: 姜文业's avatar 姜文业

Merge branch 'v24.2_company_owner_20240902' of…

Merge branch 'v24.2_company_owner_20240902' of https://t.clxkj.cn/clx-java/clx-performance into test Former-commit-id: 275fa97a
...@@ -67,6 +67,11 @@ public class OwnerCaseOutVO { ...@@ -67,6 +67,11 @@ public class OwnerCaseOutVO {
*/ */
@ApiModelProperty(value = "操作人") @ApiModelProperty(value = "操作人")
private String createBy; private String createBy;
/**
* 公司名称
*/
@ApiModelProperty(value = "公司名称")
private String companyName;
/** /**
* 付款时间 * 付款时间
*/ */
...@@ -103,4 +108,4 @@ public class OwnerCaseOutVO { ...@@ -103,4 +108,4 @@ public class OwnerCaseOutVO {
@ApiModelProperty(value = "修改时间") @ApiModelProperty(value = "修改时间")
private String modifiedTime; private String modifiedTime;
} }
\ No newline at end of file
...@@ -75,6 +75,11 @@ public class OwnerTopUpVO { ...@@ -75,6 +75,11 @@ public class OwnerTopUpVO {
*/ */
@ApiModelProperty(value = "操作人") @ApiModelProperty(value = "操作人")
private String createBy; private String createBy;
/**
* 公司名称
*/
@ApiModelProperty(value = "公司名称")
private String companyName;
/** /**
* 审批时间 * 审批时间
*/ */
...@@ -97,4 +102,4 @@ public class OwnerTopUpVO { ...@@ -97,4 +102,4 @@ public class OwnerTopUpVO {
@ApiModelProperty(value = "收款人账户账号") @ApiModelProperty(value = "收款人账户账号")
private String accountNumber; private String accountNumber;
} }
\ No newline at end of file
...@@ -71,6 +71,11 @@ public class OwnerCaseOut implements HasKey<Integer> { ...@@ -71,6 +71,11 @@ public class OwnerCaseOut implements HasKey<Integer> {
*/ */
@TableField("create_by") @TableField("create_by")
private String createBy; private String createBy;
/**
* 公司名称
*/
@TableField("company_name")
private String companyName;
/** /**
* 付款时间 * 付款时间
*/ */
...@@ -118,4 +123,4 @@ public class OwnerCaseOut implements HasKey<Integer> { ...@@ -118,4 +123,4 @@ public class OwnerCaseOut implements HasKey<Integer> {
public Integer gainKey() { public Integer gainKey() {
return id; return id;
} }
} }
\ No newline at end of file
...@@ -79,6 +79,11 @@ public class OwnerTopUp implements HasKey<Integer> { ...@@ -79,6 +79,11 @@ public class OwnerTopUp implements HasKey<Integer> {
*/ */
@TableField("create_by") @TableField("create_by")
private String createBy; private String createBy;
/**
* 公司名称
*/
@TableField("company_name")
private String companyName;
/** /**
* 审批时间 * 审批时间
*/ */
...@@ -130,4 +135,4 @@ public class OwnerTopUp implements HasKey<Integer> { ...@@ -130,4 +135,4 @@ public class OwnerTopUp implements HasKey<Integer> {
public Integer gainKey() { public Integer gainKey() {
return id; return id;
} }
} }
\ No newline at end of file
...@@ -185,7 +185,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -185,7 +185,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
entity.setDrawingBank(param.getDrawingBank()); entity.setDrawingBank(param.getDrawingBank());
entity.setDrawingBankNumber(param.getDrawingBankNumber()); entity.setDrawingBankNumber(param.getDrawingBankNumber());
entity.setDrawingProof(param.getDrawingProof()); entity.setDrawingProof(param.getDrawingProof());
entity.setCreateBy(loginUserInfo.getCompanyName()); entity.setCreateBy(loginUserInfo.getUserName());
entity.setCompanyName(loginUserInfo.getCompanyName());
entity.setEnterpriseName(param.getEnterpriseName()); entity.setEnterpriseName(param.getEnterpriseName());
entity.setOpenAccountBank(param.getOpenAccountBank()); entity.setOpenAccountBank(param.getOpenAccountBank());
entity.setOpenAccountBankNumber(param.getOpenAccountBankNumber()); entity.setOpenAccountBankNumber(param.getOpenAccountBankNumber());
...@@ -258,7 +259,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -258,7 +259,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
entity.setStatus(OwnerAccountEnum.CaseOutStatus.PENDING_PAYMENT.getCode()); entity.setStatus(OwnerAccountEnum.CaseOutStatus.PENDING_PAYMENT.getCode());
entity.setCaseOutBank(param.getOwnerOpenBank()); entity.setCaseOutBank(param.getOwnerOpenBank());
entity.setCaseOutBankNumber(param.getOwnerBankAccount()); entity.setCaseOutBankNumber(param.getOwnerBankAccount());
entity.setCreateBy(loginUserInfo.getCompanyName()); entity.setCreateBy(loginUserInfo.getUserName());
entity.setCompanyName(loginUserInfo.getCompanyName());
ownerCaseOutDao.saveEntity(entity); ownerCaseOutDao.saveEntity(entity);
......
...@@ -12,7 +12,7 @@ public class OwnerCaseOutProvider { ...@@ -12,7 +12,7 @@ public class OwnerCaseOutProvider {
public String ownerCaseOutPageList(@Param("param") PageOwnerCaseOutListParam param) { public String ownerCaseOutPageList(@Param("param") PageOwnerCaseOutListParam param) {
String sql = new SQL() {{ String sql = new SQL() {{
SELECT("a.id, a.owner_user_no," + SELECT("a.id, a.owner_user_no," +
" a.case_out_no, a.case_out_balance, a.account_type, " + " a.case_out_no, a.case_out_balance, a.account_type,a.company_name, " +
" a.status,a.case_out_bank,a.case_out_bank_number,date_format(a.payment_time, '%Y-%m-%d %H:%i:%s') as payment_time,a.create_by,a.platform_payment_bank_number,a.platform_payment_bank,a.payment_by,a.payment_proof,date_format(a.create_time, '%Y-%m-%d %H:%i:%s') as create_time,a.modified_time"); " a.status,a.case_out_bank,a.case_out_bank_number,date_format(a.payment_time, '%Y-%m-%d %H:%i:%s') as payment_time,a.create_by,a.platform_payment_bank_number,a.platform_payment_bank,a.payment_by,a.payment_proof,date_format(a.create_time, '%Y-%m-%d %H:%i:%s') as create_time,a.modified_time");
FROM("owner_case_out a"); FROM("owner_case_out a");
if (StringUtils.isNotBlank(param.getBeginTime()) && StringUtils.isNotBlank(param.getEndTime())) { if (StringUtils.isNotBlank(param.getBeginTime()) && StringUtils.isNotBlank(param.getEndTime())) {
......
...@@ -12,7 +12,7 @@ public class OwnerTopUpProvider { ...@@ -12,7 +12,7 @@ public class OwnerTopUpProvider {
public String ownerTopUpPageList(@Param("param") PageOwnerTopUpListParam param) { public String ownerTopUpPageList(@Param("param") PageOwnerTopUpListParam param) {
String sql = new SQL() {{ String sql = new SQL() {{
SELECT("a.id, a.owner_user_no," + SELECT("a.id, a.owner_user_no," +
" a.top_up_no, a.top_up_balance, a.account_type, " + " a.top_up_no, a.top_up_balance, a.account_type,a.company_name, " +
" a.status,a.drawing_bank,a.enterprise_name,a.account_number,a.drawing_bank_number,a.drawing_proof,date_format(a.approval_time, '%Y-%m-%d %H:%i:%s') as approval_time,a.approval_by,a.approval_turn_down,a.create_by,date_format(a.create_time, '%Y-%m-%d %H:%i:%s') as create_time,a.modified_time"); " a.status,a.drawing_bank,a.enterprise_name,a.account_number,a.drawing_bank_number,a.drawing_proof,date_format(a.approval_time, '%Y-%m-%d %H:%i:%s') as approval_time,a.approval_by,a.approval_turn_down,a.create_by,date_format(a.create_time, '%Y-%m-%d %H:%i:%s') as create_time,a.modified_time");
FROM("owner_top_up a"); FROM("owner_top_up a");
if (StringUtils.isNotBlank(param.getBeginTime()) && StringUtils.isNotBlank(param.getEndTime())) { if (StringUtils.isNotBlank(param.getBeginTime()) && StringUtils.isNotBlank(param.getEndTime())) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论