|
|
@@ -106,6 +106,7 @@ public class OutServiceImpl implements OutService {
|
|
106
|
106
|
if (stack.getIsLayer().equals("0")) {
|
|
107
|
107
|
for (int i = 0; i < listOutRecord.size(); i++) {
|
|
108
|
108
|
listOutRecord.get(i).setBackFlag("1");
|
|
|
109
|
+ int i1 = distributionMapper.updateCancleFlag(listOutRecord.get(i).getDistributionId(),listOutRecord.get(i).getId());
|
|
109
|
110
|
num += outRecordMapper.updateByPrimaryKey(listOutRecord.get(i));
|
|
110
|
111
|
store = storeMapper.selectByOutId(listOutRecord.get(i).getId(), noUserParam,userId, belongId);
|
|
111
|
112
|
storeMapper.updateByOutId(listOutRecord.get(i).getId(), noUserParam, userId, belongId);
|
|
|
@@ -128,6 +129,7 @@ public class OutServiceImpl implements OutService {
|
|
128
|
129
|
} else {
|
|
129
|
130
|
for (int i = 0; i < listOutRecord.size(); i++) {
|
|
130
|
131
|
listOutRecord.get(i).setBackFlag("1");
|
|
|
132
|
+ int i1 = distributionMapper.updateCancleFlag(listOutRecord.get(i).getDistributionId(),listOutRecord.get(i).getId());
|
|
131
|
133
|
num += outRecordMapper.updateByPrimaryKey(listOutRecord.get(i));
|
|
132
|
134
|
store = storeMapper.selectByOutId(listOutRecord.get(i).getId(), noUserParam, userId, belongId);
|
|
133
|
135
|
storeMapper.updateByOutId(listOutRecord.get(i).getId(), noUserParam, userId, belongId);
|