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
9bcd4150
Commit
9bcd4150
authored
Oct 27, 2020
by
Wyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修復PRJ查詢重印BUG 2、修改餐廳配置頁面優化
Signed-off-by: Wyh <1239658231>
parent
f40e4ed7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
delivery_pick_module/src/main/java/com/gingersoft/gsa/delivery_pick_mode/mvp/ui/activity/PrjQueryActivity.java
+2
-1
main-module/src/main/java/com/gingersoft/gsa/cloud/main/mvp/presenter/ExpandListPresenter.java
+1
-0
main-module/src/main/java/com/gingersoft/gsa/cloud/main/mvp/ui/activity/ExpandListActivity.java
+1
-1
main-module/src/main/java/com/gingersoft/gsa/cloud/main/mvp/ui/adapter/ExpandListAdapter.java
+0
-3
main-module/src/main/res/layout/main_expand_item.xml
+2
-0
No files found.
delivery_pick_module/src/main/java/com/gingersoft/gsa/delivery_pick_mode/mvp/ui/activity/PrjQueryActivity.java
View file @
9bcd4150
...
...
@@ -188,7 +188,8 @@ public class PrjQueryActivity extends BaseActivity<PrjQueryPresenter> implements
List
<
PrjBean
.
DataBean
.
Bean
>
prjData
=
prjQueryBean
.
getData
();
if
(
prjData
.
get
(
position
).
getParentId
()
==
0
)
{
//是主食品,判斷有沒有子食品,如果沒有子食品,直接打印主食品
if
(
position
+
1
>
prjData
.
size
()
||
prjData
.
get
(
position
+
1
).
getParentId
()
==
0
)
{
if
(
position
+
1
>
prjData
.
size
()
||
(
position
+
1
<
prjData
.
size
()
&&
prjData
.
get
(
position
+
1
).
getParentId
()
==
0
))
{
//沒有子食品
//直接打印
List
<
PrjBean
.
DataBean
.
Bean
>
printDatas
=
new
ArrayList
<>();
...
...
main-module/src/main/java/com/gingersoft/gsa/cloud/main/mvp/presenter/ExpandListPresenter.java
View file @
9bcd4150
...
...
@@ -90,6 +90,7 @@ public class ExpandListPresenter extends BasePresenter<ExpandListContract.Model,
mRootView
.
showMessage
(
result
.
getErrMsg
());
}
if
(
result
.
isSuccess
())
{
mRootView
.
showMessage
(
"保存成功"
);
mRootView
.
killMyself
();
}
}
...
...
main-module/src/main/java/com/gingersoft/gsa/cloud/main/mvp/ui/activity/ExpandListActivity.java
View file @
9bcd4150
...
...
@@ -138,7 +138,7 @@ public class ExpandListActivity extends BaseActivity<ExpandListPresenter> implem
}
if
(
updateDate
.
size
()
>
0
)
{
//調用接口批量修改
mPresenter
.
updateExpandInfo
(
updateDate
);
}
else
{
killMyself
();
}
...
...
main-module/src/main/java/com/gingersoft/gsa/cloud/main/mvp/ui/adapter/ExpandListAdapter.java
View file @
9bcd4150
...
...
@@ -28,9 +28,6 @@ public class ExpandListAdapter extends BaseQuickAdapter<ExpandInfo, BaseViewHold
public
ExpandListAdapter
(
List
<
ExpandInfo
>
data
)
{
super
(
R
.
layout
.
main_expand_item
,
data
);
for
(
int
i
=
0
;
i
<
data
.
size
();
i
++)
{
data
.
get
(
i
).
setDataType
(
i
);
}
}
@Override
...
...
main-module/src/main/res/layout/main_expand_item.xml
View file @
9bcd4150
...
...
@@ -35,6 +35,8 @@
android:id=
"@+id/ed_expand_edit"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_20"
android:paddingRight=
"@dimen/dp_10"
android:gravity=
"right"
android:visibility=
"gone"
/>
...
...
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