|
|
|
@ -47,6 +47,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.io.OutputStream;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.text.ParseException;
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
import java.util.*;
|
|
|
|
@ -335,6 +336,11 @@ public class StorePromotionDataService {
|
|
|
|
|
if (poiStore == null){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
Float replyPercentage = result.getReplyPercentage();
|
|
|
|
|
BigDecimal replyPercentageBigDecimal = new BigDecimal(replyPercentage).setScale(0, BigDecimal.ROUND_HALF_UP);
|
|
|
|
|
replyPercentage = replyPercentageBigDecimal.floatValue();
|
|
|
|
|
result.setReplyPercentage(replyPercentage);
|
|
|
|
|
|
|
|
|
|
result.setStoreName(poiStore.getName());
|
|
|
|
|
result.setStoreCode(poiStore.getCode());
|
|
|
|
|
result.setAddress(poiStore.getAddress());
|
|
|
|
|