Commit 32d45df3 by zhiwj

计算门店分数

parent 091899c6
......@@ -153,5 +153,5 @@ public interface EvaluateManageApiService {
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Integer>
* @throws
*/
ServiceResponse<Integer> computeStoreScoreEvaluate();
ServiceResponse<Integer> computeStoreScoreEvaluate(String msg);
}
......@@ -201,7 +201,7 @@ public class EvaluateManageApiServiceImpl implements EvaluateManageApiService {
}
@Override
public ServiceResponse<Integer> computeStoreScoreEvaluate() {
public ServiceResponse<Integer> computeStoreScoreEvaluate(String msg) {
List<EnterpriseDTO> enterpriseList = enterpriseApiService.listEnterpriseByName(null).getResult();
List<Integer> enterpriseIds = Optional.ofNullable(enterpriseList).orElse(Collections.emptyList()).stream().map(EnterpriseDTO::getEnterpriseId).collect(Collectors.toList());
for (Integer enterpriseId : enterpriseIds) {
......
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