Browse Source

商家查询优化

liude 8 months ago
parent
commit
76ed9ce4cf

+ 1 - 1
src/main/java/com/chelvc/cloud/maintain/controller/CurrencyRecordController.java

@@ -34,7 +34,7 @@ public class CurrencyRecordController {
      * @param type 类型:0-平台;1-用户;2-商户
      */
     @GetMapping("/listCurrencyRecord")
-    public List<CurrencyRecordDTO> listCurrencyRecord(@NotNull(message = "查询类型不能为空") Integer type, LocalDate date) {
+    public List<CurrencyRecordDTO> listCurrencyRecord(@NotNull(message = "查询类型不能为空") Integer type, @NotNull(message = "日期不能为空")Long date) {
         return this.currencyRecordClient.listCurrencyRecord(type,date);
     }