|
|
|
@ -493,14 +493,14 @@ public class DashboardServiceImpl implements DashboardService,DashboardAnalysisT
|
|
|
|
|
/**
|
|
|
|
|
* 重新生成执行商户下某日消费者数据
|
|
|
|
|
* @param analysisDate
|
|
|
|
|
* @param clientMoniker
|
|
|
|
|
* @param clientId
|
|
|
|
|
*/
|
|
|
|
|
public void generateCustomersAndOrdersStatisticsByClientMoniker(Date analysisDate,String clientMoniker){
|
|
|
|
|
public void generateCustomersAndOrdersStatisticsByClientMoniker(Date analysisDate,String clientId){
|
|
|
|
|
DateFormat format = new SimpleDateFormat("yyyyMMdd");
|
|
|
|
|
String date = format.format(analysisDate);
|
|
|
|
|
List<JSONObject> clients =clientMapper.listClients();
|
|
|
|
|
for (JSONObject client:clients){
|
|
|
|
|
if(client.getString("client_moniker").equals(clientMoniker)){
|
|
|
|
|
if(client.getString("client_id").equals(clientId)){
|
|
|
|
|
generateData(format, date, client);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|