Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
36ef7102
Commit
36ef7102
authored
Dec 21, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改备货,发货bug
parent
fe39edbf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
PreparationPageDto.java
...oin/amos/boot/module/hygf/api/dto/PreparationPageDto.java
+1
-0
PowerStationMapper.xml
...pi/src/main/resources/mapper/mysql/PowerStationMapper.xml
+2
-1
PreparationMoneyController.java
...odule/hygf/biz/controller/PreparationMoneyController.java
+1
-0
PreparationMoneyServiceImpl.java
...le/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
+3
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/PreparationPageDto.java
View file @
36ef7102
...
...
@@ -27,5 +27,6 @@ public class PreparationPageDto extends Page<PreparationMoney> {
String
arrivalState
;
//收货
String
deliveryState
;
//发货状态 未发货已发货
List
<
String
>
deliveryTime
;
String
flag
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/PowerStationMapper.xml
View file @
36ef7102
...
...
@@ -8,7 +8,7 @@
hygf_household_contract.contract_lock_id
from hygf_power_station LEFT JOIN hygf_household_contract on
hygf_household_contract.peasant_household_id=hygf_power_station.peasant_household_id
where hygf_power_station.is_delete=0
and hygf_household_contract.status !='已作废'
where hygf_power_station.is_delete=0
<if
test=
"powerStationCode!=null and powerStationCode!=''"
>
and hygf_power_station.power_station_code like concat(concat("%",#{powerStationCode}),"%")
...
...
@@ -19,6 +19,7 @@
<if
test=
"serviceAgent!=null and serviceAgent!=''"
>
and hygf_power_station.service_agent=#{serviceAgent}
</if>
) a
</select>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/PreparationMoneyController.java
View file @
36ef7102
...
...
@@ -41,6 +41,7 @@ import org.typroject.tyboot.core.foundation.enumeration.UserType;
*
* @author system_generator
* @date 2023-08-17
* @date 2023-08-17
*/
@RestController
@Api
(
tags
=
"发货单Api"
)
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
View file @
36ef7102
...
...
@@ -95,6 +95,9 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
qw
.
like
(
StringUtils
.
isNotEmpty
(
dto
.
getOddNumbers
()),
PreparationMoney:
:
getOddNumbers
,
dto
.
getOddNumbers
());
qw
.
eq
(
StringUtils
.
isNotEmpty
(
dto
.
getDeliveryState
()),
PreparationMoney:
:
getDeliveryState
,
dto
.
getDeliveryState
());
qw
.
eq
(
StringUtils
.
isNotEmpty
(
dto
.
getAmosUnitId
()),
PreparationMoney:
:
getAmosUnitId
,
dto
.
getAmosUnitId
());
qw
.
ne
(
StringUtils
.
isNotEmpty
(
dto
.
getFlag
()),
PreparationMoney:
:
getDeliveryState
,
DeliveryStateeEnum
.
已作废
.
getCode
());
qw
.
ne
(
StringUtils
.
isNotEmpty
(
dto
.
getFlag
()),
PreparationMoney:
:
getDeliveryState
,
DeliveryStateeEnum
.
待发货
.
getCode
());
if
(
dto
.
getDeliveryTime
()!=
null
&&!
dto
.
getDeliveryTime
().
get
(
0
).
equals
(
""
)){
qw
.
between
(
dto
.
getDeliveryTime
()!=
null
,
PreparationMoney:
:
getDeliveryTime
,
dto
.
getDeliveryTime
().
get
(
0
),
dto
.
getDeliveryTime
().
get
(
1
));
}
...
...
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