Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
013709ac
Commit
013709ac
authored
Nov 06, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缴纳保证金
parent
2b23b989
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
645 additions
and
80 deletions
+645
-80
ch-dao/src/main/java/com/wwdz/ch/db/domain/openShop/UserAccount.java
...main/java/com/wwdz/ch/db/domain/openShop/UserAccount.java
+25
-9
ch-dao/src/main/java/com/wwdz/ch/db/domain/openShop/UserAccountExample.java
...va/com/wwdz/ch/db/domain/openShop/UserAccountExample.java
+300
-36
ch-dao/src/main/java/com/wwdz/ch/db/mapper/openShop/UserAccountMapper.java
...ava/com/wwdz/ch/db/mapper/openShop/UserAccountMapper.java
+0
-3
ch-dao/src/main/resources/com/wwdz/ch/db/mapper/openShop/UserAccountMapper.xml
...rces/com/wwdz/ch/db/mapper/openShop/UserAccountMapper.xml
+316
-28
ch-dao/src/main/resources/generatorConfig_new.xml
ch-dao/src/main/resources/generatorConfig_new.xml
+1
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/openShop/AuctionEarnestServiceImpl.java
...m/wwdz/ch/wx/impl/openShop/AuctionEarnestServiceImpl.java
+0
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/service/openShop/AuctionEarnestService.java
...om/wwdz/ch/wx/service/openShop/AuctionEarnestService.java
+3
-2
No files found.
ch-dao/src/main/java/com/wwdz/ch/db/domain/openShop/UserAccount.java
View file @
013709ac
...
...
@@ -4,16 +4,14 @@ import java.io.Serializable;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Date
;
import
com.xxdxxs.entity.Entity
;
import
lombok.Data
;
/**
* @author shiyu
* @date 2024/11/0
5
* @date 2024/11/0
6
*/
@Data
public
class
UserAccount
implements
Entity
{
public
class
UserAccount
implements
Serializable
{
private
Long
id
;
/**
...
...
@@ -29,13 +27,23 @@ public class UserAccount implements Entity {
/**
* 货款
*/
private
Long
itemIncomeAmount
;
private
Long
goodsAmount
;
/**
* 待入账货款
*/
private
Long
goodsWaitEntryAmount
;
/**
* 介绍佣金
*/
private
Long
introduceAmount
;
/**
* 待入账介绍佣金
*/
private
Long
introduceWaitEntryAmount
;
/**
* 拍卖保证金
*/
...
...
@@ -62,8 +70,10 @@ public class UserAccount implements Entity {
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", userId="
).
append
(
userId
);
sb
.
append
(
", guaranteeAmount="
).
append
(
guaranteeAmount
);
sb
.
append
(
", itemIncomeAmount="
).
append
(
itemIncomeAmount
);
sb
.
append
(
", goodsAmount="
).
append
(
goodsAmount
);
sb
.
append
(
", goodsWaitEntryAmount="
).
append
(
goodsWaitEntryAmount
);
sb
.
append
(
", introduceAmount="
).
append
(
introduceAmount
);
sb
.
append
(
", introduceWaitEntryAmount="
).
append
(
introduceWaitEntryAmount
);
sb
.
append
(
", earnestAmount="
).
append
(
earnestAmount
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
...
...
@@ -87,8 +97,10 @@ public class UserAccount implements Entity {
return
(
this
.
getId
()
==
null
?
other
.
getId
()
==
null
:
this
.
getId
().
equals
(
other
.
getId
()))
&&
(
this
.
getUserId
()
==
null
?
other
.
getUserId
()
==
null
:
this
.
getUserId
().
equals
(
other
.
getUserId
()))
&&
(
this
.
getGuaranteeAmount
()
==
null
?
other
.
getGuaranteeAmount
()
==
null
:
this
.
getGuaranteeAmount
().
equals
(
other
.
getGuaranteeAmount
()))
&&
(
this
.
getItemIncomeAmount
()
==
null
?
other
.
getItemIncomeAmount
()
==
null
:
this
.
getItemIncomeAmount
().
equals
(
other
.
getItemIncomeAmount
()))
&&
(
this
.
getGoodsAmount
()
==
null
?
other
.
getGoodsAmount
()
==
null
:
this
.
getGoodsAmount
().
equals
(
other
.
getGoodsAmount
()))
&&
(
this
.
getGoodsWaitEntryAmount
()
==
null
?
other
.
getGoodsWaitEntryAmount
()
==
null
:
this
.
getGoodsWaitEntryAmount
().
equals
(
other
.
getGoodsWaitEntryAmount
()))
&&
(
this
.
getIntroduceAmount
()
==
null
?
other
.
getIntroduceAmount
()
==
null
:
this
.
getIntroduceAmount
().
equals
(
other
.
getIntroduceAmount
()))
&&
(
this
.
getIntroduceWaitEntryAmount
()
==
null
?
other
.
getIntroduceWaitEntryAmount
()
==
null
:
this
.
getIntroduceWaitEntryAmount
().
equals
(
other
.
getIntroduceWaitEntryAmount
()))
&&
(
this
.
getEarnestAmount
()
==
null
?
other
.
getEarnestAmount
()
==
null
:
this
.
getEarnestAmount
().
equals
(
other
.
getEarnestAmount
()))
&&
(
this
.
getCreateTime
()
==
null
?
other
.
getCreateTime
()
==
null
:
this
.
getCreateTime
().
equals
(
other
.
getCreateTime
()))
&&
(
this
.
getUpdateTime
()
==
null
?
other
.
getUpdateTime
()
==
null
:
this
.
getUpdateTime
().
equals
(
other
.
getUpdateTime
()));
...
...
@@ -101,8 +113,10 @@ public class UserAccount implements Entity {
result
=
prime
*
result
+
((
getId
()
==
null
)
?
0
:
getId
().
hashCode
());
result
=
prime
*
result
+
((
getUserId
()
==
null
)
?
0
:
getUserId
().
hashCode
());
result
=
prime
*
result
+
((
getGuaranteeAmount
()
==
null
)
?
0
:
getGuaranteeAmount
().
hashCode
());
result
=
prime
*
result
+
((
getItemIncomeAmount
()
==
null
)
?
0
:
getItemIncomeAmount
().
hashCode
());
result
=
prime
*
result
+
((
getGoodsAmount
()
==
null
)
?
0
:
getGoodsAmount
().
hashCode
());
result
=
prime
*
result
+
((
getGoodsWaitEntryAmount
()
==
null
)
?
0
:
getGoodsWaitEntryAmount
().
hashCode
());
result
=
prime
*
result
+
((
getIntroduceAmount
()
==
null
)
?
0
:
getIntroduceAmount
().
hashCode
());
result
=
prime
*
result
+
((
getIntroduceWaitEntryAmount
()
==
null
)
?
0
:
getIntroduceWaitEntryAmount
().
hashCode
());
result
=
prime
*
result
+
((
getEarnestAmount
()
==
null
)
?
0
:
getEarnestAmount
().
hashCode
());
result
=
prime
*
result
+
((
getCreateTime
()
==
null
)
?
0
:
getCreateTime
().
hashCode
());
result
=
prime
*
result
+
((
getUpdateTime
()
==
null
)
?
0
:
getUpdateTime
().
hashCode
());
...
...
@@ -120,8 +134,10 @@ public class UserAccount implements Entity {
id
(
"id"
,
"id"
,
"BIGINT"
,
false
),
userId
(
"user_id"
,
"userId"
,
"BIGINT"
,
false
),
guaranteeAmount
(
"guarantee_amount"
,
"guaranteeAmount"
,
"BIGINT"
,
false
),
itemIncomeAmount
(
"item_income_amount"
,
"itemIncomeAmount"
,
"BIGINT"
,
false
),
goodsAmount
(
"goods_amount"
,
"goodsAmount"
,
"BIGINT"
,
false
),
goodsWaitEntryAmount
(
"goods_wait_entry_amount"
,
"goodsWaitEntryAmount"
,
"BIGINT"
,
false
),
introduceAmount
(
"introduce_amount"
,
"introduceAmount"
,
"BIGINT"
,
false
),
introduceWaitEntryAmount
(
"introduce_wait_entry_amount"
,
"introduceWaitEntryAmount"
,
"BIGINT"
,
false
),
earnestAmount
(
"earnest_amount"
,
"earnestAmount"
,
"BIGINT"
,
false
),
createTime
(
"create_time"
,
"createTime"
,
"TIMESTAMP"
,
false
),
updateTime
(
"update_time"
,
"updateTime"
,
"TIMESTAMP"
,
false
);
...
...
ch-dao/src/main/java/com/wwdz/ch/db/domain/openShop/UserAccountExample.java
View file @
013709ac
This diff is collapsed.
Click to expand it.
ch-dao/src/main/java/com/wwdz/ch/db/mapper/openShop/UserAccountMapper.java
View file @
013709ac
...
...
@@ -3,11 +3,8 @@ package com.wwdz.ch.db.mapper.openShop;
import
com.wwdz.ch.db.domain.openShop.UserAccount
;
import
com.wwdz.ch.db.domain.openShop.UserAccountExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
@Mapper
public
interface
UserAccountMapper
{
long
countByExample
(
UserAccountExample
example
);
...
...
ch-dao/src/main/resources/com/wwdz/ch/db/mapper/openShop/UserAccountMapper.xml
View file @
013709ac
This diff is collapsed.
Click to expand it.
ch-dao/src/main/resources/generatorConfig_new.xml
View file @
013709ac
...
...
@@ -72,7 +72,7 @@
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"com.wwdz.ch.db.mapper.openShop"
targetProject=
"ch-dao/src/main/java"
/>
<table
tableName=
"
earnest_order
"
enableCountByExample=
"true"
enableUpdateByExample=
"true"
enableDeleteByExample=
"true"
enableSelectByExample=
"true"
selectByExampleQueryId=
"true"
>
<table
tableName=
"
user_account
"
enableCountByExample=
"true"
enableUpdateByExample=
"true"
enableDeleteByExample=
"true"
enableSelectByExample=
"true"
selectByExampleQueryId=
"true"
>
<generatedKey
column=
"id"
sqlStatement=
"Mysql"
identity=
"true"
/>
</table>
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/openShop/AuctionEarnestServiceImpl.java
View file @
013709ac
package
com.wwdz.ch.wx.impl.openShop
;
import
com.wwdz.ch.core.api.WxAppletApi
;
import
com.wwdz.ch.core.api.wxpay.WxPayServiceApi
;
import
com.wwdz.ch.core.consts.CommConsts
;
import
com.wwdz.ch.core.consts.EarnestEnum
;
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/service/openShop/AuctionEarnestService.java
View file @
013709ac
...
...
@@ -2,8 +2,6 @@ package com.wwdz.ch.wx.service.openShop;
import
com.wwdz.ch.core.type.Result
;
import
com.wwdz.ch.db.dto.request.openShop.EarnestOrderRequestDto
;
import
com.wwdz.ch.db.dto.request.openShop.EarnestRecordRequestDto
;
import
com.wwdz.ch.db.dto.request.openShop.OpenShopApplyOrderRequestDto
;
public
interface
AuctionEarnestService
{
...
...
@@ -22,4 +20,7 @@ public interface AuctionEarnestService {
* @return
*/
Result
getPayParam
(
EarnestOrderRequestDto
dto
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment