|
@@ -41,6 +41,7 @@ import com.uas.platform.core.exception.IllegalOperatorException;
|
|
|
import com.uas.platform.core.exception.IllegalStatusException;
|
|
import com.uas.platform.core.exception.IllegalStatusException;
|
|
|
import com.uas.platform.core.model.PageInfo;
|
|
import com.uas.platform.core.model.PageInfo;
|
|
|
import com.uas.platform.core.model.PageParams;
|
|
import com.uas.platform.core.model.PageParams;
|
|
|
|
|
+import com.uas.platform.core.model.Status;
|
|
|
import com.uas.platform.core.persistence.criteria.LogicalExpression;
|
|
import com.uas.platform.core.persistence.criteria.LogicalExpression;
|
|
|
import com.uas.platform.core.persistence.criteria.PredicateUtils;
|
|
import com.uas.platform.core.persistence.criteria.PredicateUtils;
|
|
|
import com.uas.platform.core.persistence.criteria.SimpleExpression;
|
|
import com.uas.platform.core.persistence.criteria.SimpleExpression;
|
|
@@ -187,6 +188,15 @@ public class StoreInServiceImpl implements StoreInService {
|
|
|
store.setEnType(storeApply.getEnType());
|
|
store.setEnType(storeApply.getEnType());
|
|
|
store.setEnQualification(storeApply.getEnQualification());
|
|
store.setEnQualification(storeApply.getEnQualification());
|
|
|
|
|
|
|
|
|
|
+ Long enUU = store.getEnUU();
|
|
|
|
|
+ if (!StringUtils.isEmpty(enUU)) {
|
|
|
|
|
+ Enterprise enterprise = enterpriseDao.findByUu(enUU);
|
|
|
|
|
+ if (!StringUtils.isEmpty(enterprise)) {
|
|
|
|
|
+ enterprise.setEnMallVendorStatus((short) Status.ENABLED.value());
|
|
|
|
|
+ enterpriseDao.save(enterprise);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return storeDao.save(store);
|
|
return storeDao.save(store);
|
|
|
}
|
|
}
|
|
|
|
|
|