Kaynağa Gözat

付款账号管理

ZhangWenQiang 6 yıl önce
ebeveyn
işleme
13b9ad8452
17 değiştirilmiş dosya ile 1230 ekleme ve 0 silme
  1. 22 0
      happy-boot-module-payment/pom.xml
  2. 123 0
      happy-boot-module-payment/src/main/java/org/jeecg/common/utils/PayConst.java
  3. 37 0
      happy-boot-module-payment/src/main/java/org/jeecg/common/utils/PayRequest.java
  4. 134 0
      happy-boot-module-payment/src/main/java/org/jeecg/common/utils/PayUtils.java
  5. 226 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/controller/HlgPayAccountController.java
  6. 226 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/controller/HlgPayRecordController.java
  7. 102 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/entity/HlgPayAccount.java
  8. 66 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/entity/HlgPayRecord.java
  9. 17 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/HlgPayAccountMapper.java
  10. 17 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/HlgPayRecordMapper.java
  11. 170 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/xml/HlgPayAccountMapper.xml
  12. 23 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/xml/HlgPayRecordMapper.xml
  13. 14 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/IHlgPayAccountService.java
  14. 14 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/IHlgPayRecordService.java
  15. 19 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/impl/HlgPayAccountServiceImpl.java
  16. 19 0
      happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/impl/HlgPayRecordServiceImpl.java
  17. 1 0
      pom.xml

+ 22 - 0
happy-boot-module-payment/pom.xml

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>happy-boot-module-payment</artifactId>
+    <version>2.1.0</version>
+
+    <parent>
+        <artifactId>happy-boot-parent</artifactId>
+        <groupId>org.jeecgframework.boot</groupId>
+        <version>2.1.0</version>
+    </parent>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.jeecgframework.boot</groupId>
+            <artifactId>happy-boot-base-common</artifactId>
+            <version>2.1.0</version>
+        </dependency>
+    </dependencies>
+</project>

+ 123 - 0
happy-boot-module-payment/src/main/java/org/jeecg/common/utils/PayConst.java

@@ -0,0 +1,123 @@
+package org.jeecg.common.utils;
+
+import org.springframework.beans.factory.InitializingBean;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.stereotype.Component;
+
+/**
+ * @Author: zwq
+ * @Description: 招行云直联支付常量类
+ * @Date: 2019/10/8 9:34
+ */
+@Component
+public class PayConst implements InitializingBean {
+    @Value("${jeecg.pay.userid}")
+    private String userid1;
+    @Value("${jeecg.pay.payurl}")
+    private String payurl1;
+    @Value("${jeecg.pay.busmod}")
+    private String busmod1;
+    @Value("${jeecg.pay.trstyp}")
+    private String trstyp1;
+    @Value("${jeecg.pay.paycnv}")
+    private String paycnv1;
+
+
+    /**
+     * 企业一网通用户ID
+     */
+    public static String userid;
+    /**
+     * 请求url
+     */
+    public static String payurl;
+
+    /**
+     * 业务模式(测试固定:000001)注意:测试环境/正式环境区分开
+     */
+    public static String busmod;
+
+    /**
+     * 交易代码(代发类型),默认代发工资
+     */
+    public static String trstyp;
+
+    /**
+     * 代发协议,默认
+     */
+    public static String paycnv;
+
+    /**
+     * 货币类型(人民币,默认为10)
+     */
+    public static String ccynbr = "10";
+
+    /**
+     * 系统内标志(Y:开户行是招商银行;N:开户行是他行)
+     */
+    public static String bnkflg_Y = "Y";
+
+    /**
+     * 系统内标志(Y:开户行是招商银行;N:开户行是他行)
+     */
+    public static String bnkflg_N = "N";
+
+    /**
+     * 接口名称-账户信息查询
+     */
+    public static String DCDACCYE = "DCDACCYE";
+    /**
+     * 接口名称-账户交易明细查询
+     */
+    public static String DCDTRSDT = "DCDTRSDT";
+    /**
+     * 接口名称-账户交易查询—关联流水
+     */
+    public static String FMTRSDTN = "FMTRSDTN";
+    /**
+     * 接口名称-电子回单查询
+     */
+    public static String DCFDFBRT = "DCFDFBRT";
+    /**
+     * 接口名称-支付经办
+     */
+    public static String DCPAYOPR = "DCPAYOPR";
+    /**
+     * 接口名称-根据业务参考号查询支付明细
+     */
+    public static String DCPAYDTL = "DCPAYDTL";
+    /**
+     * 接口名称-批量支付经办
+     */
+    public static String DCBPOPER = "DCBPOPER";
+    /**
+     * 接口名称-批量支付交易批次查询
+     */
+    public static String DCBPBQRY = "DCBPBQRY";
+    /**
+     * 接口名称-代发经办
+     */
+    public static String DCAGPOPR = "DCAGPOPR";
+    /**
+     * 接口名称-移动代发批次明细查询
+     */
+    public static String DCAGPINF = "DCAGPINF";
+    /**
+     * 接口名称-移动代发每笔明细查询
+     */
+    public static String DCAGPDTL = "DCAGPDTL";
+    /**
+     * 接口名称-移动代发查询协议号
+     */
+    public static String DCAGPCNV = "DCAGPCNV";
+
+    @Override
+    public void afterPropertiesSet() throws Exception {
+        userid = userid1;
+        payurl = payurl1;
+        busmod = busmod1;
+        trstyp = trstyp1;
+        paycnv = paycnv1;
+    }
+
+}

+ 37 - 0
happy-boot-module-payment/src/main/java/org/jeecg/common/utils/PayRequest.java

@@ -0,0 +1,37 @@
+package org.jeecg.common.utils;
+
+import com.alibaba.fastjson.JSONObject;
+
+/**
+ * @Author: zwq
+ * @Description: 招行云直联支付统一请求
+ * @Date: 2019/10/8 9:34
+ */
+public class PayRequest {
+
+    /**
+     * 支付请求统一方法
+     *
+     * @param obj_body(支付请求body数据)
+     * @param funcode(接口名称)
+     * @return
+     */
+    public static String doRequest(JSONObject obj_body, String funcode) {
+        JSONObject Obj = new JSONObject();
+        JSONObject request = new JSONObject();
+        // head
+        JSONObject head = new JSONObject();
+        head.put("funcode", funcode);
+        head.put("userid", PayConst.userid);
+
+        request.put("head", head);
+        request.put("body", obj_body);
+        Obj.put("request", request);
+
+        String Sendstr = "UID=" + PayConst.userid + "&DATA=" + Obj.toString();
+        System.out.println(Sendstr);
+        String formResult = PayUtils.doPostForm(PayConst.payurl, Sendstr);
+        System.out.println(formResult);
+        return formResult;
+    }
+}

+ 134 - 0
happy-boot-module-payment/src/main/java/org/jeecg/common/utils/PayUtils.java

@@ -0,0 +1,134 @@
+package org.jeecg.common.utils;
+
+
+import javax.net.ssl.*;
+import java.io.*;
+import java.net.HttpURLConnection;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.security.cert.CertificateException;
+import java.security.cert.X509Certificate;
+
+/**
+ * 招行云直联支付工具类
+ */
+public class PayUtils {
+
+    /**
+     * 向指定URL发送POST请求
+     *
+     * @param httpUrl
+     * @param Sendstr
+     * @return
+     */
+    public static String doPostForm(String httpUrl, String Sendstr) {
+
+        HttpURLConnection connection = null;
+        InputStream is = null;
+        OutputStream os = null;
+        BufferedReader br = null;
+        String result = null;
+        try {
+            URL url = new URL(httpUrl);
+
+            SSLContext sslcontext;
+            // 获取一个SSLContext实例  TLSv1.2
+            sslcontext = SSLContext.getInstance("TLSv1.2");
+            // 初始化SSLContext实例  由于前置机证书是自颁发的,需要绕开证书校验
+            sslcontext.init(null, new TrustManager[]{new MyX509TrustManager()}, new java.security.SecureRandom());
+            //由于前置机证书是自颁发的,需要绕开证书校验
+            HostnameVerifier ignoreHostnameVerifier = new HostnameVerifier() {
+                public boolean verify(String s, SSLSession sslsession) {
+                    return true;
+                }
+            };
+            HttpsURLConnection.setDefaultHostnameVerifier(ignoreHostnameVerifier);
+            HttpsURLConnection.setDefaultSSLSocketFactory(sslcontext.getSocketFactory());
+
+            // 通过远程url连接对象打开连接
+            connection = (HttpsURLConnection) url.openConnection();
+            // 设置连接请求方式
+            connection.setRequestMethod("POST");
+            // 默认值为:false,当向远程服务器传送数据/写数据时,需要设置为true
+            connection.setDoOutput(true);
+            // 默认值为:true,当前向远程服务读取数据时,设置为true,该参数可有可无
+            connection.setDoInput(true);
+            // 设置传入参数的格式:请求参数应该是 name1=value1&name2=value2 的形式。
+            connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
+            // 通过连接对象获取一个输出流
+            os = connection.getOutputStream();
+            // 通过输出流对象将参数写出去/传输出去,它是通过字节数组写出的(form表单形式的参数实质也是key,value值的拼接,类似于get请求参数的拼接)
+            os.write(Sendstr.getBytes("UTF-8"));
+            // 通过连接对象获取一个输入流,向远程读取
+            if (connection.getResponseCode() == 200) {
+
+                is = connection.getInputStream();
+                // 对输入流对象进行包装:charset根据工作项目组的要求来设置
+                br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
+
+                StringBuffer sbf = new StringBuffer();
+                String temp = null;
+                // 循环遍历一行一行读取数据
+                while ((temp = br.readLine()) != null) {
+                    sbf.append(temp);
+                    sbf.append("\r\n");
+                }
+                result = sbf.toString();
+            }
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+        } catch (IOException e) {
+            e.printStackTrace();
+        } catch (Exception e) {
+            // TODO: handle exception
+        } finally {
+            // 关闭资源
+            if (null != br) {
+                try {
+                    br.close();
+                } catch (IOException e) {
+                    e.printStackTrace();
+                }
+            }
+            if (null != os) {
+                try {
+                    os.close();
+                } catch (IOException e) {
+                    e.printStackTrace();
+                }
+            }
+            if (null != is) {
+                try {
+                    is.close();
+                } catch (IOException e) {
+                    e.printStackTrace();
+                }
+            }
+            // 断开与远程地址url的连接
+            connection.disconnect();
+        }
+        return result;
+    }
+}
+
+class MyX509TrustManager implements X509TrustManager {
+
+    @Override
+    public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException {
+        // TODO Auto-generated method stub
+
+    }
+
+    @Override
+    public X509Certificate[] getAcceptedIssuers() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+}
+

+ 226 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/controller/HlgPayAccountController.java

@@ -0,0 +1,226 @@
+package org.jeecg.modules.hlgpayaccount.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount;
+import org.jeecg.modules.hlgpayaccount.service.IHlgPayAccountService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+
+ /**
+ * @Description: hlg_pay_account
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+@RestController
+@RequestMapping("/hlgpayaccount/hlgPayAccount")
+@Slf4j
+public class HlgPayAccountController {
+	@Autowired
+	private IHlgPayAccountService hlgPayAccountService;
+	
+	/**
+	  * 分页列表查询
+	 * @param hlgPayAccount
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	@GetMapping(value = "/list")
+	public Result<IPage<HlgPayAccount>> queryPageList(HlgPayAccount hlgPayAccount,
+									  @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+									  @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+									  HttpServletRequest req) {
+		Result<IPage<HlgPayAccount>> result = new Result<IPage<HlgPayAccount>>();
+		QueryWrapper<HlgPayAccount> queryWrapper = QueryGenerator.initQueryWrapper(hlgPayAccount, req.getParameterMap());
+		Page<HlgPayAccount> page = new Page<HlgPayAccount>(pageNo, pageSize);
+		IPage<HlgPayAccount> pageList = hlgPayAccountService.page(page, queryWrapper);
+		result.setSuccess(true);
+		result.setResult(pageList);
+		return result;
+	}
+	
+	/**
+	  *   添加
+	 * @param hlgPayAccount
+	 * @return
+	 */
+	@PostMapping(value = "/add")
+	public Result<HlgPayAccount> add(@RequestBody HlgPayAccount hlgPayAccount) {
+		Result<HlgPayAccount> result = new Result<HlgPayAccount>();
+		try {
+			hlgPayAccountService.save(hlgPayAccount);
+			result.success("添加成功!");
+		} catch (Exception e) {
+			log.error(e.getMessage(),e);
+			result.error500("操作失败");
+		}
+		return result;
+	}
+	
+	/**
+	  *  编辑
+	 * @param hlgPayAccount
+	 * @return
+	 */
+	@PutMapping(value = "/edit")
+	public Result<HlgPayAccount> edit(@RequestBody HlgPayAccount hlgPayAccount) {
+		Result<HlgPayAccount> result = new Result<HlgPayAccount>();
+		HlgPayAccount hlgPayAccountEntity = hlgPayAccountService.getById(hlgPayAccount.getId());
+		if(hlgPayAccountEntity==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = hlgPayAccountService.updateById(hlgPayAccount);
+			//TODO 返回false说明什么?
+			if(ok) {
+				result.success("修改成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *   通过id删除
+	 * @param id
+	 * @return
+	 */
+	@DeleteMapping(value = "/delete")
+	public Result<?> delete(@RequestParam(name="id",required=true) String id) {
+		try {
+			hlgPayAccountService.removeById(id);
+		} catch (Exception e) {
+			log.error("删除失败",e.getMessage());
+			return Result.error("删除失败!");
+		}
+		return Result.ok("删除成功!");
+	}
+	
+	/**
+	  *  批量删除
+	 * @param ids
+	 * @return
+	 */
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<HlgPayAccount> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		Result<HlgPayAccount> result = new Result<HlgPayAccount>();
+		if(ids==null || "".equals(ids.trim())) {
+			result.error500("参数不识别!");
+		}else {
+			this.hlgPayAccountService.removeByIds(Arrays.asList(ids.split(",")));
+			result.success("删除成功!");
+		}
+		return result;
+	}
+	
+	/**
+	  * 通过id查询
+	 * @param id
+	 * @return
+	 */
+	@GetMapping(value = "/queryById")
+	public Result<HlgPayAccount> queryById(@RequestParam(name="id",required=true) String id) {
+		Result<HlgPayAccount> result = new Result<HlgPayAccount>();
+		HlgPayAccount hlgPayAccount = hlgPayAccountService.getById(id);
+		if(hlgPayAccount==null) {
+			result.error500("未找到对应实体");
+		}else {
+			result.setResult(hlgPayAccount);
+			result.setSuccess(true);
+		}
+		return result;
+	}
+
+  /**
+      * 导出excel
+   *
+   * @param request
+   * @param response
+   */
+  @RequestMapping(value = "/exportXls")
+  public ModelAndView exportXls(HttpServletRequest request, HlgPayAccount hlgPayAccount) {
+      // Step.1 组装查询条件查询数据
+      QueryWrapper<HlgPayAccount> queryWrapper = QueryGenerator.initQueryWrapper(hlgPayAccount, request.getParameterMap());
+      List<HlgPayAccount> pageList = hlgPayAccountService.list(queryWrapper);
+      // Step.2 AutoPoi 导出Excel
+      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
+      // 过滤选中数据
+      String selections = request.getParameter("selections");
+      if(oConvertUtils.isEmpty(selections)) {
+    	  mv.addObject(NormalExcelConstants.DATA_LIST, pageList);
+      }else {
+    	  List<String> selectionList = Arrays.asList(selections.split(","));
+    	  List<HlgPayAccount> exportList = pageList.stream().filter(item -> selectionList.contains(item.getId())).collect(Collectors.toList());
+    	  mv.addObject(NormalExcelConstants.DATA_LIST, exportList);
+      }
+      //导出文件名称
+      mv.addObject(NormalExcelConstants.FILE_NAME, "hlg_pay_account列表");
+      mv.addObject(NormalExcelConstants.CLASS, HlgPayAccount.class);
+      mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("hlg_pay_account列表数据", "导出人:Jeecg", "导出信息"));
+      return mv;
+  }
+
+  /**
+      * 通过excel导入数据
+   *
+   * @param request
+   * @param response
+   * @return
+   */
+  @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+  public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+      MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
+      Map<String, MultipartFile> fileMap = multipartRequest.getFileMap();
+      for (Map.Entry<String, MultipartFile> entity : fileMap.entrySet()) {
+          MultipartFile file = entity.getValue();// 获取上传文件对象
+          ImportParams params = new ImportParams();
+          params.setTitleRows(2);
+          params.setHeadRows(1);
+          params.setNeedSave(true);
+          try {
+              List<HlgPayAccount> listHlgPayAccounts = ExcelImportUtil.importExcel(file.getInputStream(), HlgPayAccount.class, params);
+              hlgPayAccountService.saveBatch(listHlgPayAccounts);
+              return Result.ok("文件导入成功!数据行数:" + listHlgPayAccounts.size());
+          } catch (Exception e) {
+              log.error(e.getMessage(),e);
+              return Result.error("文件导入失败:"+e.getMessage());
+          } finally {
+              try {
+                  file.getInputStream().close();
+              } catch (IOException e) {
+                  e.printStackTrace();
+              }
+          }
+      }
+      return Result.ok("文件导入失败!");
+  }
+
+}

+ 226 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/controller/HlgPayRecordController.java

@@ -0,0 +1,226 @@
+package org.jeecg.modules.hlgpayaccount.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayRecord;
+import org.jeecg.modules.hlgpayaccount.service.IHlgPayRecordService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+
+ /**
+ * @Description: hlg_pay_record
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+@RestController
+@RequestMapping("/hlgpayaccount/hlgPayRecord")
+@Slf4j
+public class HlgPayRecordController {
+	@Autowired
+	private IHlgPayRecordService hlgPayRecordService;
+	
+	/**
+	  * 分页列表查询
+	 * @param hlgPayRecord
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	@GetMapping(value = "/list")
+	public Result<IPage<HlgPayRecord>> queryPageList(HlgPayRecord hlgPayRecord,
+									  @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+									  @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+									  HttpServletRequest req) {
+		Result<IPage<HlgPayRecord>> result = new Result<IPage<HlgPayRecord>>();
+		QueryWrapper<HlgPayRecord> queryWrapper = QueryGenerator.initQueryWrapper(hlgPayRecord, req.getParameterMap());
+		Page<HlgPayRecord> page = new Page<HlgPayRecord>(pageNo, pageSize);
+		IPage<HlgPayRecord> pageList = hlgPayRecordService.page(page, queryWrapper);
+		result.setSuccess(true);
+		result.setResult(pageList);
+		return result;
+	}
+	
+	/**
+	  *   添加
+	 * @param hlgPayRecord
+	 * @return
+	 */
+	@PostMapping(value = "/add")
+	public Result<HlgPayRecord> add(@RequestBody HlgPayRecord hlgPayRecord) {
+		Result<HlgPayRecord> result = new Result<HlgPayRecord>();
+		try {
+			hlgPayRecordService.save(hlgPayRecord);
+			result.success("添加成功!");
+		} catch (Exception e) {
+			log.error(e.getMessage(),e);
+			result.error500("操作失败");
+		}
+		return result;
+	}
+	
+	/**
+	  *  编辑
+	 * @param hlgPayRecord
+	 * @return
+	 */
+	@PutMapping(value = "/edit")
+	public Result<HlgPayRecord> edit(@RequestBody HlgPayRecord hlgPayRecord) {
+		Result<HlgPayRecord> result = new Result<HlgPayRecord>();
+		HlgPayRecord hlgPayRecordEntity = hlgPayRecordService.getById(hlgPayRecord.getId());
+		if(hlgPayRecordEntity==null) {
+			result.error500("未找到对应实体");
+		}else {
+			boolean ok = hlgPayRecordService.updateById(hlgPayRecord);
+			//TODO 返回false说明什么?
+			if(ok) {
+				result.success("修改成功!");
+			}
+		}
+		
+		return result;
+	}
+	
+	/**
+	  *   通过id删除
+	 * @param id
+	 * @return
+	 */
+	@DeleteMapping(value = "/delete")
+	public Result<?> delete(@RequestParam(name="id",required=true) String id) {
+		try {
+			hlgPayRecordService.removeById(id);
+		} catch (Exception e) {
+			log.error("删除失败",e.getMessage());
+			return Result.error("删除失败!");
+		}
+		return Result.ok("删除成功!");
+	}
+	
+	/**
+	  *  批量删除
+	 * @param ids
+	 * @return
+	 */
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<HlgPayRecord> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		Result<HlgPayRecord> result = new Result<HlgPayRecord>();
+		if(ids==null || "".equals(ids.trim())) {
+			result.error500("参数不识别!");
+		}else {
+			this.hlgPayRecordService.removeByIds(Arrays.asList(ids.split(",")));
+			result.success("删除成功!");
+		}
+		return result;
+	}
+	
+	/**
+	  * 通过id查询
+	 * @param id
+	 * @return
+	 */
+	@GetMapping(value = "/queryById")
+	public Result<HlgPayRecord> queryById(@RequestParam(name="id",required=true) String id) {
+		Result<HlgPayRecord> result = new Result<HlgPayRecord>();
+		HlgPayRecord hlgPayRecord = hlgPayRecordService.getById(id);
+		if(hlgPayRecord==null) {
+			result.error500("未找到对应实体");
+		}else {
+			result.setResult(hlgPayRecord);
+			result.setSuccess(true);
+		}
+		return result;
+	}
+
+  /**
+      * 导出excel
+   *
+   * @param request
+   * @param response
+   */
+  @RequestMapping(value = "/exportXls")
+  public ModelAndView exportXls(HttpServletRequest request, HlgPayRecord hlgPayRecord) {
+      // Step.1 组装查询条件查询数据
+      QueryWrapper<HlgPayRecord> queryWrapper = QueryGenerator.initQueryWrapper(hlgPayRecord, request.getParameterMap());
+      List<HlgPayRecord> pageList = hlgPayRecordService.list(queryWrapper);
+      // Step.2 AutoPoi 导出Excel
+      ModelAndView mv = new ModelAndView(new JeecgEntityExcelView());
+      // 过滤选中数据
+      String selections = request.getParameter("selections");
+      if(oConvertUtils.isEmpty(selections)) {
+    	  mv.addObject(NormalExcelConstants.DATA_LIST, pageList);
+      }else {
+    	  List<String> selectionList = Arrays.asList(selections.split(","));
+    	  List<HlgPayRecord> exportList = pageList.stream().filter(item -> selectionList.contains(item.getId())).collect(Collectors.toList());
+    	  mv.addObject(NormalExcelConstants.DATA_LIST, exportList);
+      }
+      //导出文件名称
+      mv.addObject(NormalExcelConstants.FILE_NAME, "hlg_pay_record列表");
+      mv.addObject(NormalExcelConstants.CLASS, HlgPayRecord.class);
+      mv.addObject(NormalExcelConstants.PARAMS, new ExportParams("hlg_pay_record列表数据", "导出人:Jeecg", "导出信息"));
+      return mv;
+  }
+
+  /**
+      * 通过excel导入数据
+   *
+   * @param request
+   * @param response
+   * @return
+   */
+  @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+  public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+      MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
+      Map<String, MultipartFile> fileMap = multipartRequest.getFileMap();
+      for (Map.Entry<String, MultipartFile> entity : fileMap.entrySet()) {
+          MultipartFile file = entity.getValue();// 获取上传文件对象
+          ImportParams params = new ImportParams();
+          params.setTitleRows(2);
+          params.setHeadRows(1);
+          params.setNeedSave(true);
+          try {
+              List<HlgPayRecord> listHlgPayRecords = ExcelImportUtil.importExcel(file.getInputStream(), HlgPayRecord.class, params);
+              hlgPayRecordService.saveBatch(listHlgPayRecords);
+              return Result.ok("文件导入成功!数据行数:" + listHlgPayRecords.size());
+          } catch (Exception e) {
+              log.error(e.getMessage(),e);
+              return Result.error("文件导入失败:"+e.getMessage());
+          } finally {
+              try {
+                  file.getInputStream().close();
+              } catch (IOException e) {
+                  e.printStackTrace();
+              }
+          }
+      }
+      return Result.ok("文件导入失败!");
+  }
+
+}

+ 102 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/entity/HlgPayAccount.java

@@ -0,0 +1,102 @@
+package org.jeecg.modules.hlgpayaccount.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.springframework.format.annotation.DateTimeFormat;
+import org.jeecgframework.poi.excel.annotation.Excel;
+import org.jeecg.common.aspect.annotation.Dict;
+
+/**
+ * @Description: hlg_pay_account
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+@Data
+@TableName("hlg_pay_account")
+public class HlgPayAccount implements Serializable {
+    private static final long serialVersionUID = 1L;
+    
+	/**id*/
+	@TableId(type = IdType.ID_WORKER_STR)
+	private java.lang.Integer id;
+	/**户口代码*/
+	@Excel(name = "户口代码", width = 15)
+	private java.lang.String eaccod;
+	/**户口代码名称*/
+	@Excel(name = "户口代码名称", width = 15)
+	private java.lang.String eccnam;
+	/**账户代码*/
+	@Excel(name = "账户代码", width = 15)
+	private java.lang.String actcod;
+	/**账户代码名称*/
+	@Excel(name = "账户代码名称", width = 15)
+	private java.lang.String actnam;
+	/**账号*/
+	@Excel(name = "账号", width = 15)
+	private java.lang.String actnbr;
+	/**账户名称*/
+	@Excel(name = "账户名称", width = 15)
+	private java.lang.String eacnam;
+	/**账户币种*/
+	@Excel(name = "账户币种", width = 15)
+	private java.lang.String ccynbr;
+	/**账户可用余额*/
+	@Excel(name = "账户可用余额", width = 15)
+	private java.math.BigDecimal avlbal;
+	/**账户冻结余额*/
+	@Excel(name = "账户冻结余额", width = 15)
+	private java.math.BigDecimal hldbal;
+	/**存款类型*/
+	@Excel(name = "存款类型", width = 15)
+	private java.lang.String eactyp;
+	/**存款期限*/
+	@Excel(name = "存款期限", width = 15)
+	private java.lang.String mthnbr;
+	/**存款年利率*/
+	@Excel(name = "存款年利率", width = 15)
+	private java.math.BigDecimal inrval;
+	/**开户分行*/
+	@Excel(name = "开户分行", width = 15)
+	private java.lang.String bbknbr;
+	/**开户网点*/
+	@Excel(name = "开户网点", width = 15)
+	private java.lang.String brnnbr;
+	/**状态*/
+	@Excel(name = "状态", width = 15)
+	private java.lang.String actsts;
+	/**地区*/
+	@Excel(name = "地区", width = 15)
+	private java.lang.String ctycod;
+	/**开户日*/
+	@Excel(name = "开户日", width = 15)
+	private java.lang.String opndat;
+	/**户口号*/
+	@Excel(name = "户口号", width = 15)
+	private java.lang.String eacnbr;
+	/**创建时间*/
+	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+	private java.util.Date createTime;
+	/**创建者*/
+	@Excel(name = "创建者", width = 15)
+	private java.lang.String createBy;
+	/**更新时间*/
+	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+	private java.util.Date updateTime;
+	/**更新者*/
+	@Excel(name = "更新者", width = 15)
+	private java.lang.String updateBy;
+	/**删除状态(0-正常,1-已删除)*/
+	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
+	private java.lang.String delFlag;
+}

+ 66 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/entity/HlgPayRecord.java

@@ -0,0 +1,66 @@
+package org.jeecg.modules.hlgpayaccount.entity;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.springframework.format.annotation.DateTimeFormat;
+import org.jeecgframework.poi.excel.annotation.Excel;
+import org.jeecg.common.aspect.annotation.Dict;
+
+/**
+ * @Description: hlg_pay_record
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+@Data
+@TableName("hlg_pay_record")
+public class HlgPayRecord implements Serializable {
+    private static final long serialVersionUID = 1L;
+    
+	/**主键id*/
+	@TableId(type = IdType.ID_WORKER_STR)
+	private java.lang.Integer id;
+	/**支付id*/
+	@Excel(name = "支付id", width = 15)
+	private java.lang.Integer paymentId;
+	/**批次号*/
+	@Excel(name = "批次号", width = 15)
+	private java.lang.String agpseq;
+	/**续传键值*/
+	@Excel(name = "续传键值", width = 15)
+	private java.lang.String ctnkey;
+	/**批次状态(UP 已经办待审批;VD 已撤销;CL 已否决;BC 等待期望日处理;CC 已审批待处理;WC待建批;WO批次已创建;WF创批失败;UC待上传;UO已上传;UF上传失败;OC待执行;OO已执行;OF执行失败;SY 已同步主机结果,即银行处理完成)*/
+	@Excel(name = "批次状态(UP 已经办待审批;VD 已撤销;CL 已否决;BC 等待期望日处理;CC 已审批待处理;WC待建批;WO批次已创建;WF创批失败;UC待上传;UO已上传;UF上传失败;OC待执行;OO已执行;OF执行失败;SY 已同步主机结果,即银行处理完成)", width = 15)
+	private java.lang.String recsts;
+	/**付款明细*/
+	@Excel(name = "付款明细", width = 15)
+	private java.lang.String detail;
+	/**代发明细信息*/
+	@Excel(name = "代发明细信息", width = 15)
+	private java.lang.String trade;
+	/**创建时间*/
+	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+	private java.util.Date createTime;
+	/**创建者*/
+	@Excel(name = "创建者", width = 15)
+	private java.lang.String createBy;
+	/**更新时间*/
+	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+	private java.util.Date updateTime;
+	/**更新者*/
+	@Excel(name = "更新者", width = 15)
+	private java.lang.String updateBy;
+	/**删除状态(0-正常,1-已删除)*/
+	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
+	private java.lang.String delFlag;
+}

+ 17 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/HlgPayAccountMapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.hlgpayaccount.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: hlg_pay_account
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+public interface HlgPayAccountMapper extends BaseMapper<HlgPayAccount> {
+
+}

+ 17 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/HlgPayRecordMapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.hlgpayaccount.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayRecord;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: hlg_pay_record
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+public interface HlgPayRecordMapper extends BaseMapper<HlgPayRecord> {
+
+}

+ 170 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/xml/HlgPayAccountMapper.xml

@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.jeecg.modules.hlgpayaccount.mapper.HlgPayAccountMapper">
+
+    <sql id="hwPayAccoutColumns">
+		a.id AS "id",
+		a.eaccod AS "eaccod",
+		a.eccnam AS "eccnam",
+		a.actcod AS "actcod",
+		a.actnam AS "actnam",
+		a.actnbr AS "actnbr",
+		a.eacnam AS "eacnam",
+		a.ccynbr AS "ccynbr",
+		a.avlbal AS "avlbal",
+		a.hldbal AS "hldbal",
+		a.eactyp AS "eactyp",
+		a.mthnbr AS "mthnbr",
+		a.inrval AS "inrval",
+		a.bbknbr AS "bbknbr",
+		a.brnnbr AS "brnnbr",
+		a.actsts AS "actsts",
+		a.ctycod AS "ctycod",
+		a.opndat AS "opndat",
+		a.eacnbr AS "eacnbr",
+		a.create_time AS "createTime",
+		a.create_by AS "createBy",
+		a.update_time AS "updateTime",
+		a.update_by AS "updateBy",
+		a.del_flag AS "delFlag"
+	</sql>
+
+    <sql id="hwPayAccoutJoins">
+
+    </sql>
+
+
+    <select id="get" resultType="org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount">
+        SELECT
+        <include refid="hwPayAccoutColumns"/>
+        FROM hlg_pay_account a
+        <include refid="hwPayAccoutJoins"/>
+        WHERE a.id = #{id}
+    </select>
+
+    <select id="findList" resultType="org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount">
+        SELECT
+        <include refid="hwPayAccoutColumns"/>
+        FROM hlg_pay_account a
+        <include refid="hwPayAccoutJoins"/>
+        <where>
+
+        </where>
+    </select>
+
+    <select id="findAllList" resultType="org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount">
+        SELECT
+        <include refid="hwPayAccoutColumns"/>
+        FROM hlg_pay_account a
+        <include refid="hwPayAccoutJoins"/>
+        <where>
+
+        </where>
+    </select>
+
+    <select id="findAccountList" resultType="org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount">
+        SELECT
+        <include refid="hwPayAccoutColumns"/>
+        FROM hlg_pay_account a
+    </select>
+
+    <insert id="saveAccout" keyProperty="id" useGeneratedKeys="true" parameterType="org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount">
+		INSERT INTO hlg_pay_account(
+			eaccod,
+			eccnam,
+			actcod,
+			actnam,
+			actnbr,
+			eacnam,
+			ccynbr,
+			avlbal,
+			hldbal,
+			eactyp,
+			mthnbr,
+			inrval,
+			bbknbr,
+			brnnbr,
+			actsts,
+			ctycod,
+			opndat,
+			eacnbr,
+			create_time,
+			create_by,
+			update_time,
+			update_by,
+			del_flag
+		) VALUES (
+			#{hwPayAccout.eaccod},
+			#{hwPayAccout.eccnam},
+			#{hwPayAccout.actcod},
+			#{hwPayAccout.actnam},
+			#{hwPayAccout.actnbr},
+			#{hwPayAccout.eacnam},
+			#{hwPayAccout.ccynbr},
+			#{hwPayAccout.avlbal},
+			#{hwPayAccout.hldbal},
+			#{hwPayAccout.eactyp},
+			#{hwPayAccout.mthnbr},
+			#{hwPayAccout.inrval},
+			#{hwPayAccout.bbknbr},
+			#{hwPayAccout.brnnbr},
+			#{hwPayAccout.actsts},
+			#{hwPayAccout.ctycod},
+			#{hwPayAccout.opndat},
+			#{hwPayAccout.eacnbr},
+			#{hwPayAccout.createTime},
+			#{hwPayAccout.createBy},
+			#{hwPayAccout.updateTime},
+			#{hwPayAccout.updateBy},
+			#{hwPayAccout.delFlag}
+		)
+	</insert>
+
+    <update id="update">
+		UPDATE hlg_pay_account SET
+			eaccod = #{hwPayAccout.eaccod},
+			eccnam = #{hwPayAccout.eccnam},
+			actcod = #{hwPayAccout.actcod},
+			actnam = #{hwPayAccout.actnam},
+			actnbr = #{hwPayAccout.actnbr},
+			eacnam = #{hwPayAccout.eacnam},
+			ccynbr = #{hwPayAccout.ccynbr},
+			avlbal = #{hwPayAccout.avlbal},
+			hldbal = #{hwPayAccout.hldbal},
+			eactyp = #{hwPayAccout.eactyp},
+			mthnbr = #{hwPayAccout.mthnbr},
+			inrval = #{hwPayAccout.inrval},
+			bbknbr = #{hwPayAccout.bbknbr},
+			brnnbr = #{hwPayAccout.brnnbr},
+			actsts = #{hwPayAccout.actsts},
+			ctycod = #{hwPayAccout.ctycod},
+			opndat = #{hwPayAccout.opndat},
+			eacnbr = #{hwPayAccout.eacnbr},
+			create_time = #{hwPayAccout.createTime},
+			update_time = #{hwPayAccout.updateTime},
+			update_by = #{hwPayAccout.updateBy}
+		WHERE id = #{hwPayAccout.id}
+	</update>
+
+
+    <!--物理删除-->
+    <update id="delete">
+		DELETE FROM hlg_pay_account
+		WHERE id = #{id}
+	</update>
+
+    <!--逻辑删除-->
+    <update id="deleteByLogic">
+		UPDATE hlg_pay_account SET
+			del_flag = #{DEL_FLAG_DELETE}
+		WHERE id = #{id}
+	</update>
+
+    <select id="getCount" resultType="org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount">
+        select
+        <include refid="hwPayAccoutColumns"/>
+        from hlg_pay_account a
+        where a.eacnbr = #{hwPayAccout.eacnbr}
+    </select>
+
+</mapper>

+ 23 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/mapper/xml/HlgPayRecordMapper.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.jeecg.modules.hlgpayaccount.mapper.HlgPayRecordMapper">
+
+    <select id="findNoPayList" resultType="org.jeecg.modules.hlgpayaccount.entity.HlgPayRecord">
+        select * from hlg_pay_record
+        <where>
+            del_flag = '0'
+            and (recsts is null OR (recsts != 'SY' and recsts != 'VD' and recsts != 'CL'
+            and recsts != 'WF' and recsts != 'UF' and recsts != 'OF'))
+        </where>
+    </select>
+
+    <select id="findAlreadyPayList" resultType="org.jeecg.modules.hlgpayaccount.entity.HlgPayRecord">
+        select * from hlg_pay_record
+        <where>
+            del_flag = '0'
+            and recsts = 'SY'
+            and DATE_SUB(CURDATE(), INTERVAL 7 DAY) &lt;= date(update_time)
+        </where>
+    </select>
+
+</mapper>

+ 14 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/IHlgPayAccountService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.hlgpayaccount.service;
+
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: hlg_pay_account
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+public interface IHlgPayAccountService extends IService<HlgPayAccount> {
+
+}

+ 14 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/IHlgPayRecordService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.hlgpayaccount.service;
+
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayRecord;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: hlg_pay_record
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+public interface IHlgPayRecordService extends IService<HlgPayRecord> {
+
+}

+ 19 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/impl/HlgPayAccountServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.hlgpayaccount.service.impl;
+
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayAccount;
+import org.jeecg.modules.hlgpayaccount.mapper.HlgPayAccountMapper;
+import org.jeecg.modules.hlgpayaccount.service.IHlgPayAccountService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: hlg_pay_account
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+@Service
+public class HlgPayAccountServiceImpl extends ServiceImpl<HlgPayAccountMapper, HlgPayAccount> implements IHlgPayAccountService {
+
+}

+ 19 - 0
happy-boot-module-payment/src/main/java/org/jeecg/modules/hlgpayaccount/service/impl/HlgPayRecordServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.hlgpayaccount.service.impl;
+
+import org.jeecg.modules.hlgpayaccount.entity.HlgPayRecord;
+import org.jeecg.modules.hlgpayaccount.mapper.HlgPayRecordMapper;
+import org.jeecg.modules.hlgpayaccount.service.IHlgPayRecordService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: hlg_pay_record
+ * @Author: jeecg-boot
+ * @Date:   2020-03-02
+ * @Version: V1.0
+ */
+@Service
+public class HlgPayRecordServiceImpl extends ServiceImpl<HlgPayRecordMapper, HlgPayRecord> implements IHlgPayRecordService {
+
+}

+ 1 - 0
pom.xml

@@ -18,6 +18,7 @@
 		<module>happy-boot-module-system</module>
 		<module>happy-boot-module-common</module>
         <module>happy-boot-module-powerjob</module>
+        <module>happy-boot-module-payment</module>
     </modules>
 	
 	<distributionManagement>