Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
c88e39d7
Commit
c88e39d7
authored
Jul 04, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-04-5提交
parent
c4f717ee
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
174 additions
and
8 deletions
+174
-8
OrderTimeMapper.java
...dao/module/order/dal/mysql/orderTime/OrderTimeMapper.java
+2
-0
OrderTimeService.java
...er/yudao/module/order/service/order/OrderTimeService.java
+2
-0
OrderTimeServiceImpl.java
...module/order/service/order/impl/OrderTimeServiceImpl.java
+6
-0
TargetLogServiceImpl.java
.../module/order/service/targetLog/TargetLogServiceImpl.java
+154
-8
OrderTimeMapper.xml
...-core/src/main/resources/mapper/order/OrderTimeMapper.xml
+10
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/mysql/orderTime/OrderTimeMapper.java
View file @
c88e39d7
...
@@ -66,4 +66,6 @@ public interface OrderTimeMapper extends AbstractMapper<OrderTimeDO> {
...
@@ -66,4 +66,6 @@ public interface OrderTimeMapper extends AbstractMapper<OrderTimeDO> {
//添加根据柜号获取卸柜时间
//添加根据柜号获取卸柜时间
Date
getUlboxtime
(
long
shipmentId
);
Date
getUlboxtime
(
long
shipmentId
);
Date
getCustomerOperateDate
(
long
customerId
,
long
newcustomerservice
);
}
}
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/OrderTimeService.java
View file @
c88e39d7
...
@@ -16,6 +16,8 @@ import cn.iocoder.yudao.framework.common.pojo.PageResult;
...
@@ -16,6 +16,8 @@ import cn.iocoder.yudao.framework.common.pojo.PageResult;
*/
*/
public
interface
OrderTimeService
extends
IService
<
OrderTimeDO
>
{
public
interface
OrderTimeService
extends
IService
<
OrderTimeDO
>
{
Date
getCustomerOperateDate
(
long
customerId
,
long
newcustomerservice
);
/**
/**
* 创建下单时间轴事件
* 创建下单时间轴事件
*
*
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderTimeServiceImpl.java
View file @
c88e39d7
...
@@ -61,6 +61,12 @@ public class OrderTimeServiceImpl extends AbstractService<OrderTimeMapper, Order
...
@@ -61,6 +61,12 @@ public class OrderTimeServiceImpl extends AbstractService<OrderTimeMapper, Order
return
orderTime
.
getId
();
return
orderTime
.
getId
();
}
}
public
Date
getCustomerOperateDate
(
long
customerId
,
long
newcustomerservice
)
{
return
orderTimeMapper
.
getCustomerOperateDate
(
customerId
,
newcustomerservice
);
}
@Override
@Override
public
void
updateOrderTime
(
OrderTimeUpdateReqVO
updateReqVO
)
{
public
void
updateOrderTime
(
OrderTimeUpdateReqVO
updateReqVO
)
{
// 校验存在
// 校验存在
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/targetLog/TargetLogServiceImpl.java
View file @
c88e39d7
This diff is collapsed.
Click to expand it.
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderTimeMapper.xml
View file @
c88e39d7
...
@@ -16,6 +16,16 @@
...
@@ -16,6 +16,16 @@
ORDER BY create_time desc LIMIT 1
ORDER BY create_time desc LIMIT 1
</select>
</select>
<select
id=
"getCustomerOperateDate"
resultType=
"java.util.Date"
>
SELECT update_time from
ecw_customer_operate_log where
customer_id=#{customerId} and
new_customer_service=#{newcustomerservice}
and operate_type in (3,5,7)
ORDER BY update_time desc LIMIT 1
</select>
<select
id=
"newOrderTimeByContainerNumberAndStatus"
resultType=
"cn.iocoder.yudao.module.order.dal.dataobject.orderTime.OrderTimeDO"
>
<select
id=
"newOrderTimeByContainerNumberAndStatus"
resultType=
"cn.iocoder.yudao.module.order.dal.dataobject.orderTime.OrderTimeDO"
>
SELECT
SELECT
...
...
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