🐛 暂时取消运单完成时的组织校验
历史运单 deptId 为 -1 或与当前组织不一致时,批量完成会被跳过。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-1
@@ -1495,7 +1495,8 @@ public class WaybillServiceImpl extends BaseServiceImpl<WaybillMapper, Waybill>
|
|||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public boolean complete(Long id) {
|
public boolean complete(Long id) {
|
||||||
return doComplete(loadEditable(id, true));
|
// 暂时取消组织校验:历史运单 deptId 可能为 -1 / 与当前组织不一致,完成时不再拦截
|
||||||
|
return doComplete(loadEditable(id, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user