1
This commit is contained in:
@@ -444,7 +444,7 @@ public class JDUtils {
|
|||||||
List<OrderRow> filterOrdersByDays = filterOrdersByDate(orderRows, daysInt);
|
List<OrderRow> filterOrdersByDays = filterOrdersByDate(orderRows, daysInt);
|
||||||
|
|
||||||
content.append("违规排行:");
|
content.append("违规排行:");
|
||||||
content.append(daysInt).append("天");
|
content.append(daysInt).append("天").append("\r");
|
||||||
|
|
||||||
Map<String, Long> skuIdViolationCountMap = filterOrdersByDays.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
Map<String, Long> skuIdViolationCountMap = filterOrdersByDays.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||||
|| orderRow.getValidCode() == 28
|
|| orderRow.getValidCode() == 28
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ public class WXUtil {
|
|||||||
public void sendTextMessage(String wxid, String content, Integer msgType, String fromwxid) {
|
public void sendTextMessage(String wxid, String content, Integer msgType, String fromwxid) {
|
||||||
// 全部打印
|
// 全部打印
|
||||||
logger.info("发送文本消息 msgType: " + msgType + " wxid: " + wxid + " fromwxid: " + fromwxid + " content: " + content);
|
logger.info("发送文本消息 msgType: " + msgType + " wxid: " + wxid + " fromwxid: " + fromwxid + " content: " + content);
|
||||||
List<String> strings = splitStringByLength(content, 500);
|
List<String> strings = splitStringByLength(content, 2048);
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for (String string : strings) {
|
for (String string : strings) {
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user