Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
Details
Activity
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
sa_aidea
Aidea
Commits
0ebbc829
Commit
0ebbc829
authored
Feb 19, 2021
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create by Strive
create date 2021/02/19
parent
71741eb0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
99 additions
and
83 deletions
+99
-83
AuthenticationMapper.java
...a/com/cftech/authentication/dao/AuthenticationMapper.java
+5
-5
CouponrecordMapper.xml
...n/java/com/cftech/couponrecord/dao/CouponrecordMapper.xml
+2
-1
MobileCouponrecordController.java
...cftech/couponrecord/web/MobileCouponrecordController.java
+16
-1
OrderServiceImpl.java
.../java/com/cftech/order/service/impl/OrderServiceImpl.java
+76
-75
pom.xml
aidea-modules/product-into-wareroom-module/pom.xml
+0
-1
No files found.
aidea-modules/authentication-module/src/main/java/com/cftech/authentication/dao/AuthenticationMapper.java
View file @
0ebbc829
...
@@ -4,11 +4,11 @@ import com.cftech.authentication.model.Authentication;
...
@@ -4,11 +4,11 @@ import com.cftech.authentication.model.Authentication;
import
com.cftech.core.generic.GenericDao
;
import
com.cftech.core.generic.GenericDao
;
/**
/**
* 身份验证Mapper
* 身份验证Mapper
*
*
* @author Buyj
* @author Buyj
* @date: 2020-11-23 16:56
* @date: 2020-11-23 16:56
*/
*/
public
interface
AuthenticationMapper
extends
GenericDao
<
Authentication
>
{
public
interface
AuthenticationMapper
extends
GenericDao
<
Authentication
>
{
}
}
\ No newline at end of file
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/dao/CouponrecordMapper.xml
View file @
0ebbc829
...
@@ -248,9 +248,10 @@
...
@@ -248,9 +248,10 @@
from t_aidea_coupon_record
from t_aidea_coupon_record
where id = #{id}
where id = #{id}
</select>
</select>
<select
id=
"buyingMedicineNumber"
parameterType=
"java.util.Map"
resultType=
"map"
>
<select
id=
"buyingMedicineNumber"
parameterType=
"java.util.Map"
resultType=
"map"
>
SELECT
SELECT
SUM(d.
number
) number
SUM(d.
drugs_num
) number
FROM t_order t
FROM t_order t
LEFT JOIN t_order_details d ON t.id = d.order_id
LEFT JOIN t_order_details d ON t.id = d.order_id
<include
refid=
"sqlWhere"
/>
<include
refid=
"sqlWhere"
/>
...
...
aidea-modules/couponrecord-module/src/main/java/com/cftech/couponrecord/web/MobileCouponrecordController.java
View file @
0ebbc829
...
@@ -3,12 +3,16 @@ package com.cftech.couponrecord.web;
...
@@ -3,12 +3,16 @@ package com.cftech.couponrecord.web;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.cftech.couponrecord.model.CouponrecordVo
;
import
com.cftech.couponrecord.model.CouponrecordVo
;
import
com.cftech.couponrecord.service.CouponrecordService
;
import
com.cftech.couponrecord.service.CouponrecordService
;
import
com.google.zxing.WriterException
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.io.IOException
;
/**
/**
* 2021年1月29日
* 2021年1月29日
*/
*/
...
@@ -48,5 +52,16 @@ public class MobileCouponrecordController {
...
@@ -48,5 +52,16 @@ public class MobileCouponrecordController {
return
couponrecordService
.
checkCouponDetails
(
vo
);
return
couponrecordService
.
checkCouponDetails
(
vo
);
}
}
@RequestMapping
(
value
=
"/testSendCouponRecord"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
},
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
void
testSendCouponRecord
(
@RequestParam
String
openid
,
@RequestParam
Long
accountsId
)
{
try
{
couponrecordService
.
sendCouponRecord
(
openid
,
accountsId
);
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
catch
(
WriterException
e
)
{
e
.
printStackTrace
();
}
}
}
}
aidea-modules/order-module/src/main/java/com/cftech/order/service/impl/OrderServiceImpl.java
View file @
0ebbc829
This diff is collapsed.
Click to expand it.
aidea-modules/product-into-wareroom-module/pom.xml
View file @
0ebbc829
...
@@ -16,5 +16,4 @@
...
@@ -16,5 +16,4 @@
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
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