|
@@ -23,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
+import java.text.DecimalFormat;
|
|
import java.text.ParseException;
|
|
import java.text.ParseException;
|
|
import java.text.SimpleDateFormat;
|
|
import java.text.SimpleDateFormat;
|
|
import java.util.*;
|
|
import java.util.*;
|
|
@@ -544,8 +545,9 @@ public class ReportServiceImpl implements ReportService {
|
|
payDetailDO.setAdminId(adminId);
|
|
payDetailDO.setAdminId(adminId);
|
|
payDetailMapper.insert(payDetailDO);
|
|
payDetailMapper.insert(payDetailDO);
|
|
}
|
|
}
|
|
|
|
+ DecimalFormat decimalFormat = new DecimalFormat("##0.00");
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
- map.put("value", reportDTO.getPayMoney());
|
|
|
|
|
|
+ map.put("value", decimalFormat.format(reportDTO.getPayMoney()));
|
|
map.put("valueOne", sdf.format(new Date()));
|
|
map.put("valueOne", sdf.format(new Date()));
|
|
map.put("url", reportDTO.getPayImg());
|
|
map.put("url", reportDTO.getPayImg());
|
|
map.put("templateId", "3NM7ujI5vuJSdYlHJAPcYiacrg2YvuyT1Y7BZf9qeNc");
|
|
map.put("templateId", "3NM7ujI5vuJSdYlHJAPcYiacrg2YvuyT1Y7BZf9qeNc");
|
|
@@ -631,8 +633,8 @@ public class ReportServiceImpl implements ReportService {
|
|
payDetailMapper.insert(payDetailDO);
|
|
payDetailMapper.insert(payDetailDO);
|
|
}
|
|
}
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
- map = new HashMap<>();
|
|
|
|
- map.put("value", reportDTO.getPayMoney());
|
|
|
|
|
|
+ DecimalFormat decimalFormat = new DecimalFormat("##0.00");
|
|
|
|
+ map.put("value", decimalFormat.format(reportDTO.getPayMoney()));
|
|
map.put("valueOne", sdf.format(new Date()));
|
|
map.put("valueOne", sdf.format(new Date()));
|
|
map.put("url", reportDTO.getPayImg());
|
|
map.put("url", reportDTO.getPayImg());
|
|
map.put("templateId", "3NM7ujI5vuJSdYlHJAPcYiacrg2YvuyT1Y7BZf9qeNc");
|
|
map.put("templateId", "3NM7ujI5vuJSdYlHJAPcYiacrg2YvuyT1Y7BZf9qeNc");
|