记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
f24cd423
Commit
f24cd423
authored
Jul 20, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dragon-do生成
parent
a51506ba
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
33 additions
and
8 deletions
+33
-8
MybatisPlusCodeGenerator.java
...om/liquidnet/service/dragon/MybatisPlusCodeGenerator.java
+2
-2
DragonOrderLogsMapper.xml
...liquidnet/service/dragon/mapper/DragonOrderLogsMapper.xml
+5
-0
DragonOrderRefundLogsMapper.xml
...net/service/dragon/mapper/DragonOrderRefundLogsMapper.xml
+5
-0
DragonOrderRefundsMapper.xml
...uidnet/service/dragon/mapper/DragonOrderRefundsMapper.xml
+5
-0
DragonOrdersMapper.xml
...om/liquidnet/service/dragon/mapper/DragonOrdersMapper.xml
+5
-0
DragonPayNotifyFailMapper.xml
...idnet/service/dragon/mapper/DragonPayNotifyFailMapper.xml
+5
-0
DragonPayNotifyMapper.xml
...liquidnet/service/dragon/mapper/DragonPayNotifyMapper.xml
+5
-0
pom.xml
liquidnet-bus-do/pom.xml
+0
-5
DragonServiceCommonBiz.java
.../liquidnet/service/dragon/biz/DragonServiceCommonBiz.java
+1
-1
No files found.
liquidnet-bus-do/liquidnet-service-dragon-do/src/main/java/com/liquidnet/service/dragon/MybatisPlusCodeGenerator.java
View file @
f24cd423
...
...
@@ -56,7 +56,7 @@ public class MybatisPlusCodeGenerator {
@Override
public
String
outputFile
(
TableInfo
tableInfo
)
{
// 自定义输出文件名 , 如果你 Entity 设置了前后缀、此处注意 xml 的名称会跟着发生变化!!
return
moduleRootPath
+
"/src/main/resources/com/liquidnet/service/
adam
/mapper/"
+
pc
.
getModuleName
()
return
moduleRootPath
+
"/src/main/resources/com/liquidnet/service/
dragon
/mapper/"
+
pc
.
getModuleName
()
+
"/"
+
tableInfo
.
getEntityName
()
+
"Mapper"
+
StringPool
.
DOT_XML
;
}
});
...
...
@@ -93,7 +93,7 @@ public class MybatisPlusCodeGenerator {
dsc
.
setUsername
(
"testmall"
);
dsc
.
setPassword
(
"zhengzai!mYT"
);
String
resourcePath
=
"/Users/
zhanggb
/Downloads/tmp"
;
String
resourcePath
=
"/Users/
anjiabin
/Downloads/tmp"
;
String
directory
=
"com.liquidnet.service.dragon"
;
String
[]
dbTableArray
=
new
String
[]{
"dragon_orders"
,
"dragon_order_logs"
,
"dragon_order_refunds"
,
"dragon_order_refund_logs"
,
"dragon_pay_notify"
,
"dragon_pay_notify_fail"
};
...
...
liquidnet-bus-do/liquidnet-service-dragon-do/src/main/resources/com/liquidnet/service/dragon/mapper/DragonOrderLogsMapper.xml
0 → 100644
View file @
f24cd423
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.dragon.mapper.DragonOrderLogsMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-dragon-do/src/main/resources/com/liquidnet/service/dragon/mapper/DragonOrderRefundLogsMapper.xml
0 → 100644
View file @
f24cd423
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.dragon.mapper.DragonOrderRefundLogsMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-dragon-do/src/main/resources/com/liquidnet/service/dragon/mapper/DragonOrderRefundsMapper.xml
0 → 100644
View file @
f24cd423
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.dragon.mapper.DragonOrderRefundsMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-dragon-do/src/main/resources/com/liquidnet/service/dragon/mapper/DragonOrdersMapper.xml
0 → 100644
View file @
f24cd423
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.dragon.mapper.DragonOrdersMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-dragon-do/src/main/resources/com/liquidnet/service/dragon/mapper/DragonPayNotifyFailMapper.xml
0 → 100644
View file @
f24cd423
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.dragon.mapper.DragonPayNotifyFailMapper"
>
</mapper>
liquidnet-bus-do/liquidnet-service-dragon-do/src/main/resources/com/liquidnet/service/dragon/mapper/DragonPayNotifyMapper.xml
0 → 100644
View file @
f24cd423
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.liquidnet.service.dragon.mapper.DragonPayNotifyMapper"
>
</mapper>
liquidnet-bus-do/pom.xml
View file @
f24cd423
...
...
@@ -43,10 +43,5 @@
<artifactId>
fastjson
</artifactId>
<version>
1.2.73
</version>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
${mysql-connector-java.version}
</version>
</dependency>
</dependencies>
</project>
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/biz/DragonServiceCommonBiz.java
View file @
f24cd423
...
...
@@ -49,7 +49,7 @@ public class DragonServiceCommonBiz {
orders
.
setOrderCode
(
dragonPayBaseReqDto
.
getOrderCode
());
orders
.
setClientIp
(
dragonPayBaseReqDto
.
getClientIp
());
orders
.
setNotifyUrl
(
dragonPayBaseReqDto
.
getNotifyUrl
());
orders
.
setNotifyStatus
(
DragonConstant
.
PayNotifyStatusEnum
.
NOTIFY_INIT
.
getCode
(
));
orders
.
setNotifyStatus
(
Integer
.
valueOf
(
DragonConstant
.
PayNotifyStatusEnum
.
NOTIFY_INIT
.
getCode
()
));
orders
.
setPaymentType
((
dragonPayBaseReqDto
.
getDeviceFrom
()+
dragonPayBaseReqDto
.
getPayType
()).
toUpperCase
());
// orders.setPaymentId();
orders
.
setPaymentAt
(
LocalDateTime
.
now
());
...
...
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