mashengyi 3 سال پیش
والد
کامیت
e0f5efc098
16فایلهای تغییر یافته به همراه150 افزوده شده و 2 حذف شده
  1. 5 0
      src/main/java/com/jkcredit/invoice/service/calculateinfor/SelfCarCalculateInfoService.java
  2. 6 0
      src/main/java/com/jkcredit/invoice/service/calculateinfor/impl/SelfcarCalculateInfoServiceImpl.java
  3. 7 0
      src/main/java/com/jkcredit/invoice/service/customer/CustomerOperService.java
  4. 21 0
      src/main/java/com/jkcredit/invoice/service/customer/CustomerRecService.java
  5. 7 0
      src/main/java/com/jkcredit/invoice/service/customer/CustomerRechargeService.java
  6. 5 0
      src/main/java/com/jkcredit/invoice/service/customer/CustomerService.java
  7. 13 0
      src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerOperServiceImpl.java
  8. 28 0
      src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerRecServiceImpl.java
  9. 13 1
      src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerRechargeServiceImpl.java
  10. 5 0
      src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerServiceImpl.java
  11. 10 0
      src/main/java/com/jkcredit/invoice/service/nocar/NoCarBillWayImportService.java
  12. 5 1
      src/main/java/com/jkcredit/invoice/service/nocar/NoCarBillWayService.java
  13. 5 0
      src/main/java/com/jkcredit/invoice/service/nocar/NocarInvoiceService.java
  14. 5 0
      src/main/java/com/jkcredit/invoice/service/selfcar/SelfCarInvoiceService.java
  15. 5 0
      src/main/java/com/jkcredit/invoice/service/selfcar/SelfCarService.java
  16. 10 0
      src/main/java/com/jkcredit/invoice/service/selfcar/SelfCarTradeService.java

+ 5 - 0
src/main/java/com/jkcredit/invoice/service/calculateinfor/SelfCarCalculateInfoService.java

@@ -19,5 +19,10 @@ public interface SelfCarCalculateInfoService {
      */
     IPage<List<SelfCarCalculateInfor>> findByPageAndCalculateInfor(Page page, SelfCarCalculateInfor calculateInfor);
 
+    /**
+     * 查询自有车计费统计信息
+     * @param calculateInfor
+     * @return
+     */
     List<Map<String,String>> findSelfcarCalculateInfoSta(SelfCarCalculateInfor calculateInfor);
 }

+ 6 - 0
src/main/java/com/jkcredit/invoice/service/calculateinfor/impl/SelfcarCalculateInfoServiceImpl.java

@@ -30,6 +30,12 @@ public class SelfcarCalculateInfoServiceImpl extends ServiceImpl<SelfCarCalculat
         return CarCalculateInforMapper.selectAllByPage(page,calculateInfor);
     }
 
+
+    /**
+     * 查询自有车计费统计信息
+     * @param calculateInfor
+     * @return
+     */
     @Override
     public List<Map<String, String>> findSelfcarCalculateInfoSta(SelfCarCalculateInfor calculateInfor) {
        //1.按企业统计出计费信息条数

+ 7 - 0
src/main/java/com/jkcredit/invoice/service/customer/CustomerOperService.java

@@ -14,5 +14,12 @@ public interface CustomerOperService {
      */
     IPage findAllCustomerOper(Page page, CustomerOper customerOper);
 
+
+    /**
+     * 平台上传指令批次信息保存
+     * @param customerName
+     * @param operType
+     * @return
+     */
     String  saveCustomerOper(String customerName,int operType);
 }

+ 21 - 0
src/main/java/com/jkcredit/invoice/service/customer/CustomerRecService.java

@@ -15,11 +15,32 @@ public interface CustomerRecService {
      */
     IPage findAllCustomerRec(Page page, CustomerRec customerRec);
 
+
+    /**
+     * 客户信息导出
+     * @param customerRec
+     * @return
+     */
     List<CustomerRec> findAllCustomerRecForExport(CustomerRec customerRec);
 
+    /**
+     * 未在平台备案成功客户查询
+     * @param record
+     * @return
+     */
     CustomerRec selectByCustomerNameAndCompanyReference(CustomerRec record);
 
+    /**
+     * 根据企业编码查询客户信息
+     * @param customerRec
+     * @return
+     */
     CustomerRec selectByCustomerNameAndCompanyNum(CustomerRec customerRec);
 
+    /**
+     * 根据企业名称查询客户信息
+     * @param customerRec
+     * @return
+     */
     CustomerRec selectByCustomerNameAndCompanyConcat(CustomerRec customerRec);
 }

+ 7 - 0
src/main/java/com/jkcredit/invoice/service/customer/CustomerRechargeService.java

@@ -13,5 +13,12 @@ public interface CustomerRechargeService {
      */
     IPage findAllCustomerRecharge(Page page, CustomerRecharge customerRecharge);
 
+
+    /**
+     * 按照客户维度查询充值信息
+     * @param page
+     * @param customerRecharge
+     * @return
+     */
     IPage findAllCustomerRechargeMoney(Page page, CustomerRecharge customerRecharge);
 }

+ 5 - 0
src/main/java/com/jkcredit/invoice/service/customer/CustomerService.java

@@ -101,5 +101,10 @@ public interface CustomerService extends IService<Customer>{
      */
     Customer getCustomerByAppKeyAndAppSecret(Customer customer);
 
+    /**
+     * 余额校验
+     * @param customerName
+     * @return
+     */
     boolean checkMoneyEnough(String customerName);
 }

+ 13 - 0
src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerOperServiceImpl.java

@@ -22,11 +22,24 @@ public class CustomerOperServiceImpl extends ServiceImpl<CustomerOperMapper,Cust
     CustomerOperMapper customerOperMapper;
     @Autowired
     UserMapper userMapper;
+
+    /**
+     * 查找所有备案信息
+     * @param page
+     * @param customerOper
+     * @return
+     */
     @Override
     public IPage findAllCustomerOper(Page page, CustomerOper customerOper) {
         return customerOperMapper.selectAllByPage(page,customerOper);
     }
 
+    /**
+     * 平台上传指令批次信息保存
+     * @param customerName
+     * @param operType
+     * @return
+     */
     @Override
     public String saveCustomerOper(String customerName, int operType) {
         log.info("开始保存批次信息CustomerOperServiceImpl.saveCustomerOper:("+customerName+","+operType+")");

+ 28 - 0
src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerRecServiceImpl.java

@@ -15,16 +15,34 @@ import java.util.List;
 public class CustomerRecServiceImpl extends ServiceImpl<CustomerRecMapper,CustomerRec>   implements CustomerRecService{
     @Autowired
     CustomerRecMapper customerRecMapper;
+
+    /**
+     * 查找所有备案信息
+     * @param page
+     * @param customerRec
+     * @return
+     */
     @Override
     public IPage findAllCustomerRec(Page page, CustomerRec customerRec) {
         return customerRecMapper.selectAllByPage(page,customerRec);
     }
 
+    /**
+     * 客户信息导出
+     * @param customerRec
+     * @return
+     */
     @Override
     public List<CustomerRec> findAllCustomerRecForExport(CustomerRec customerRec) {
         return customerRecMapper.selectAllByPageExport(customerRec);
     }
 
+
+    /**
+     * 未在平台备案成功客户查询
+     * @param record
+     * @return
+     */
     @Override
     public synchronized CustomerRec selectByCustomerNameAndCompanyReference(CustomerRec record) {
         CustomerRec customerRec = customerRecMapper.selectByCustomerNameAndCompanyReference(record);
@@ -46,6 +64,11 @@ public class CustomerRecServiceImpl extends ServiceImpl<CustomerRecMapper,Custom
         return customerRec;
     }
 
+    /**
+     * 根据企业编码查询客户信息
+     * @param record
+     * @return
+     */
     @Override
     public synchronized CustomerRec selectByCustomerNameAndCompanyNum(CustomerRec record) {
         CustomerRec customerRec = customerRecMapper.selectByCustomerNameAndCompanyNum(record);
@@ -67,6 +90,11 @@ public class CustomerRecServiceImpl extends ServiceImpl<CustomerRecMapper,Custom
         return customerRec;
     }
 
+    /**
+     * 根据企业名称查询客户信息
+     * @param record
+     * @return
+     */
     @Override
     public  CustomerRec selectByCustomerNameAndCompanyConcat(CustomerRec record) {
         return customerRecMapper.selectByCustomerNameAndCompanyConcat(record);

+ 13 - 1
src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerRechargeServiceImpl.java

@@ -13,13 +13,25 @@ import org.springframework.stereotype.Service;
 public class CustomerRechargeServiceImpl extends ServiceImpl<CustomerRechargeMapper,CustomerRecharge> implements CustomerRechargeService{
     @Autowired
     CustomerRechargeMapper customerRechargeMapper;
+
+    /**
+     * 查找所有充值信息
+     * @param page
+     * @param customerRecharge
+     * @return
+     */
     @Override
     public IPage findAllCustomerRecharge(Page page, CustomerRecharge customerRecharge) {
         return customerRechargeMapper.selectAllByPage(page,customerRecharge);
     }
 
 
-
+    /**
+     * 按照客户维度查询充值信息
+     * @param page
+     * @param customerRecharge
+     * @return
+     */
     @Override
     public IPage findAllCustomerRechargeMoney(Page page, CustomerRecharge customerRecharge) {
         return customerRechargeMapper.selectAllByPageMoney(page,customerRecharge);

+ 5 - 0
src/main/java/com/jkcredit/invoice/service/customer/impl/CustomerServiceImpl.java

@@ -209,6 +209,11 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper,Customer> im
         return customerMapper.selectByAppKeyAndAppSecret( customer.getCustomerName(), customer.getAppSecret());
     }
 
+    /**
+     * 余额校验
+     * @param customerName
+     * @return
+     */
     @Override
     public boolean checkMoneyEnough(String customerName) {
         Customer customer = customerMapper.selectByCustomerName(customerName);

+ 10 - 0
src/main/java/com/jkcredit/invoice/service/nocar/NoCarBillWayImportService.java

@@ -24,7 +24,17 @@ public interface NoCarBillWayImportService {
      */
     IPage<List<NoCarWayBill>> findByPageAndWayBillException(Page page, NoCarWayBill noCarWayBill);
 
+    /**
+     * 客户端导入指令保存
+     * @param record
+     */
     void insertImport(NoCarWayBill record);
 
+    /**
+     * 根据异常信息 更新运单数据
+     * @param status
+     * @param msg
+     * @param noCarWayBill
+     */
     void updateBillway(int status,String msg,NoCarWayBill noCarWayBill);
 }

+ 5 - 1
src/main/java/com/jkcredit/invoice/service/nocar/NoCarBillWayService.java

@@ -45,6 +45,10 @@ public interface NoCarBillWayService {
      */
     RespR batchHsitoryBillWay(List<NoCarWayBill> noCarWayBills,String customerName);
 
-
+    /**
+     * 查询运单导入记录
+     * @param list
+     * @return
+     */
     RespR findImportNocarBillWay(List<NoCarWayBill> list);
 }

+ 5 - 0
src/main/java/com/jkcredit/invoice/service/nocar/NocarInvoiceService.java

@@ -21,6 +21,11 @@ public interface NocarInvoiceService {
      */
     IPage<List<BillInvoice>> findByPageAndInvoice(Page page, BillInvoice billInvoice);
 
+    /**
+     * 查询无车发票统计数据库信息
+     * @param billInvoice
+     * @return
+     */
     Map<String,String> findInvoiceStatics(BillInvoice billInvoice);
 
 

+ 5 - 0
src/main/java/com/jkcredit/invoice/service/selfcar/SelfCarInvoiceService.java

@@ -19,5 +19,10 @@ public interface SelfCarInvoiceService{
      */
     IPage<List<SelfCarInvoice>> findByPageAndInvoice(Page page, SelfCarInvoice selfCarInvoice);
 
+    /**
+     * 批量查询自有车发票信息
+     * @param list
+     * @return
+     */
     RespR findImportSelfcarInvoices(List<SelfCarInvoice> list);
 }

+ 5 - 0
src/main/java/com/jkcredit/invoice/service/selfcar/SelfCarService.java

@@ -16,5 +16,10 @@ public interface SelfCarService {
      */
     RespR selfCarUnBind(String cardId);
 
+    /**
+     * 根据车牌号查询ETC信息
+     * @param carNum
+     * @return
+     */
     List<CustomerCarRec> getEtcsByCarNum(String carNum);
 }

+ 10 - 0
src/main/java/com/jkcredit/invoice/service/selfcar/SelfCarTradeService.java

@@ -19,7 +19,17 @@ public interface SelfCarTradeService {
      */
     IPage<List<SelfCarTrade>> findByPageAndTrade(Page page, SelfCarTrade selfCarTrade);
 
+    /**
+     * 批量查询自有车交易信息
+     * @param list
+     * @return
+     */
     RespR batchImportSelfcarTrades(List<SelfCarTrade> list);
 
+    /**
+     * 更新交易id状态
+     * @param selfCarTrades
+     * @return
+     */
     boolean updateTrades(List<SelfCarTrade> selfCarTrades);
 }