Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
supplier
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王宇航
supplier
Commits
e9036833
Commit
e9036833
authored
May 07, 2021
by
宁斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、自定義食品不可合併報錯處理
parent
4d040404
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
ajcore.20210507.161430.999.txt
+0
-0
component-table/src/main/java/com/gingersoft/gsa/cloud/table/mvp/presenter/BaseOrderPresenter.java
+2
-1
config.gradle
+2
-2
library-order/src/main/java/com/gingersoft/gsa/cloud/order/commodity/OrderDetail.java
+1
-1
No files found.
ajcore.20210507.161430.999.txt
0 → 100644
View file @
e9036833
This diff is collapsed.
Click to expand it.
component-table/src/main/java/com/gingersoft/gsa/cloud/table/mvp/presenter/BaseOrderPresenter.java
View file @
e9036833
...
...
@@ -1221,7 +1221,8 @@ public abstract class BaseOrderPresenter<M extends BaseOrderContract.Model, V ex
List
<
Integer
>
removeIndexs
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
foodList
.
size
();
i
++)
{
OrderDetail
orderFood
=
foodList
.
get
(
i
);
if
(!
orderFood
.
isNew
()
||
orderFood
.
getItemType
()
!=
1
||
orderFood
.
getCustomType
()
!=
Food
.
CUSTOM_TYPE_100
)
{
boolean
customFood
=
(
orderFood
.
getCustomType
()
!=
null
&&
orderFood
.
getCustomType
()
!=
Food
.
CUSTOM_TYPE_100
);
if
(!
orderFood
.
isNew
()
||
orderFood
.
getItemType
()
!=
1
||
customFood
)
{
continue
;
}
if
(
hasChildFood
(
foodList
,
orderFood
))
{
...
...
config.gradle
View file @
e9036833
...
...
@@ -7,8 +7,8 @@ ext {
targetSdkVersion
:
29
,
//正式版: 1.0.3 3
//內部測試版:1.2.0 20
versionCode
:
3
1
,
versionName
:
"1.3.
1
"
versionCode
:
3
2
,
versionName
:
"1.3.
2
"
]
version
=
[
...
...
library-order/src/main/java/com/gingersoft/gsa/cloud/order/commodity/OrderDetail.java
View file @
e9036833
...
...
@@ -1170,7 +1170,7 @@ public class OrderDetail implements Commodity, Serializable, Cloneable {
orderDetail
.
setPrintseting
(
food
.
getPrintSeting
());
orderDetail
.
setIsfood
(
true
);
orderDetail
.
setNew
(
true
);
orderDetail
.
setCustomType
(
food
.
ge
tCustomType
());
orderDetail
.
setCustomType
(
food
.
ableDiscountCas
tCustomType
());
orderDetail
.
setType
(
FOOD_TYPE
);
orderDetail
.
setItemType
(
1
);
orderDetail
.
setProp
(
FOOD_PROP
);
...
...
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