Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
cd9a7450
Commit
cd9a7450
authored
Jan 31, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微订单查询
parent
f3e6f2d5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletions
+25
-1
TabHaobanQywxFeeOrderAccountMapper.java
...ce/dao/mapper/fee/TabHaobanQywxFeeOrderAccountMapper.java
+4
-0
HaobanQywxFeeOrderAccountService.java
...service/service/fee/HaobanQywxFeeOrderAccountService.java
+5
-0
HaobanQywxFeeOrderAccountServiceImpl.java
...ervice/fee/impl/HaobanQywxFeeOrderAccountServiceImpl.java
+8
-0
TabHaobanQywxFeeOrderAccountMapper.xml
...sources/mapper/fee/TabHaobanQywxFeeOrderAccountMapper.xml
+8
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/fee/TabHaobanQywxFeeOrderAccountMapper.java
View file @
cd9a7450
package
com
.
gic
.
haoban
.
manage
.
service
.
dao
.
mapper
.
fee
;
package
com
.
gic
.
haoban
.
manage
.
service
.
dao
.
mapper
.
fee
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
com.gic.haoban.manage.service.entity.fee.TabHaobanQywxFeeOrderAccount
;
import
com.gic.haoban.manage.service.entity.fee.TabHaobanQywxFeeOrderAccount
;
...
@@ -46,5 +48,7 @@ public interface TabHaobanQywxFeeOrderAccountMapper {
...
@@ -46,5 +48,7 @@ public interface TabHaobanQywxFeeOrderAccountMapper {
* @date 2022-08-05 11:24:02
* @date 2022-08-05 11:24:02
*/
*/
int
countOrderAccountStatus
(
@Param
(
"status"
)
Integer
status
,
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
);
int
countOrderAccountStatus
(
@Param
(
"status"
)
Integer
status
,
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
);
List
<
TabHaobanQywxFeeOrderAccount
>
listAccount
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"orderId"
)
String
orderId
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/fee/HaobanQywxFeeOrderAccountService.java
View file @
cd9a7450
package
com
.
gic
.
haoban
.
manage
.
service
.
service
.
fee
;
package
com
.
gic
.
haoban
.
manage
.
service
.
service
.
fee
;
import
java.util.List
;
import
com.gic.haoban.manage.service.entity.fee.TabHaobanQywxFeeOrderAccount
;
import
com.gic.haoban.manage.service.entity.fee.TabHaobanQywxFeeOrderAccount
;
/**
/**
...
@@ -29,4 +31,7 @@ public interface HaobanQywxFeeOrderAccountService {
...
@@ -29,4 +31,7 @@ public interface HaobanQywxFeeOrderAccountService {
*/
*/
int
countOrderAccountStatus
(
Integer
status
,
String
wxEnterpriseId
);
int
countOrderAccountStatus
(
Integer
status
,
String
wxEnterpriseId
);
List
<
TabHaobanQywxFeeOrderAccount
>
listAccount
(
String
wxEnterpriseId
,
String
ordreId
)
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/fee/impl/HaobanQywxFeeOrderAccountServiceImpl.java
View file @
cd9a7450
...
@@ -4,6 +4,9 @@ import com.gic.commons.util.UniqueIdUtils;
...
@@ -4,6 +4,9 @@ import com.gic.commons.util.UniqueIdUtils;
import
com.gic.haoban.manage.service.dao.mapper.fee.TabHaobanQywxFeeOrderAccountMapper
;
import
com.gic.haoban.manage.service.dao.mapper.fee.TabHaobanQywxFeeOrderAccountMapper
;
import
com.gic.haoban.manage.service.entity.fee.TabHaobanQywxFeeOrderAccount
;
import
com.gic.haoban.manage.service.entity.fee.TabHaobanQywxFeeOrderAccount
;
import
com.gic.haoban.manage.service.service.fee.HaobanQywxFeeOrderAccountService
;
import
com.gic.haoban.manage.service.service.fee.HaobanQywxFeeOrderAccountService
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -45,4 +48,9 @@ public class HaobanQywxFeeOrderAccountServiceImpl implements HaobanQywxFeeOrderA
...
@@ -45,4 +48,9 @@ public class HaobanQywxFeeOrderAccountServiceImpl implements HaobanQywxFeeOrderA
return
tabHaobanQywxFeeOrderAccountMapper
.
countOrderAccountStatus
(
status
,
wxEnterpriseId
);
return
tabHaobanQywxFeeOrderAccountMapper
.
countOrderAccountStatus
(
status
,
wxEnterpriseId
);
}
}
@Override
public
List
<
TabHaobanQywxFeeOrderAccount
>
listAccount
(
String
wxEnterpriseId
,
String
ordreId
)
{
return
this
.
tabHaobanQywxFeeOrderAccountMapper
.
listAccount
(
wxEnterpriseId
,
ordreId
);
}
}
}
haoban-manage3-service/src/main/resources/mapper/fee/TabHaobanQywxFeeOrderAccountMapper.xml
View file @
cd9a7450
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_haoban_qywx_fee_order_account
from tab_haoban_qywx_fee_order_account
where
order_id = #{orderId} and active_code = #{activeCode} and wx_enterprise_id = #{wxEnterpriseId
}
where
wx_enterprise_id = #{wxEnterpriseId} and order_id = #{orderId} and active_code = #{activeCode
}
</select>
</select>
<!--新增所有列-->
<!--新增所有列-->
...
@@ -78,5 +78,12 @@
...
@@ -78,5 +78,12 @@
where wx_enterprise_id = #{wxEnterpriseId} and status = #{status}
where wx_enterprise_id = #{wxEnterpriseId} and status = #{status}
</select>
</select>
<select
id=
"listAccount"
resultMap=
"TabHaobanQywxFeeOrderAccountMap"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_qywx_fee_order_account
where wx_enterprise_id = #{wxEnterpriseId} and order_id = #{orderId} and status in (1,2,4,5,6)
</select>
</mapper>
</mapper>
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