Commit 83c0b24b by zhiwj

门店分组策略

parent 4d33187c
......@@ -355,7 +355,7 @@ public class StoreApiServiceImpl implements StoreApiService {
* @return
*/
private String getGroup(StoreDTO storeDTO) {
if (storeDTO.getIsEditStoreGroup() == 1 || Integer.valueOf(0).equals(storeStrategyApiService.getStoreGroupStrategyWeight(storeDTO.getEnterpriseId()).getResult())) {
if (storeDTO.getIsEditStoreGroup() == 1 && Integer.valueOf(1).equals(storeStrategyApiService.getStoreGroupStrategyWeight(storeDTO.getEnterpriseId()).getResult())) {
// 不启用分组策略
if (storeDTO.getStoreGroupId() == null) {
// 取 未分类 分组
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment