Compare commits
	
		
			No commits in common. "e623987b6120d25b797658d7339a7961774a563e" and "8804791eca3e12a474e08ea03c7bb1d44a56f3d1" have entirely different histories.
		
	
	
		
			e623987b61
			...
			8804791eca
		
	
		| 
						 | 
				
			
			@ -3,7 +3,6 @@ package com.hzs.system.sys.service.impl;
 | 
			
		|||
import java.text.DecimalFormat;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import com.hzs.common.core.constant.SysConstants;
 | 
			
		||||
import com.hzs.common.domain.system.sys.SysDept;
 | 
			
		||||
import com.hzs.system.sys.param.SysDeptQueryParam;
 | 
			
		||||
import com.hzs.system.sys.vo.SysDeptQueryVO;
 | 
			
		||||
| 
						 | 
				
			
			@ -118,9 +117,9 @@ public class SysDeptServiceImpl implements ISysDeptService {
 | 
			
		|||
        DecimalFormat decimalFormat = new DecimalFormat("0000");
 | 
			
		||||
        String deptCode = sysDeptMapper.getMaxDeptCode();
 | 
			
		||||
        if (StringUtils.isEmpty(deptCode)) {
 | 
			
		||||
            return SysConstants.RETAIL_PREFIX + decimalFormat.format(1);
 | 
			
		||||
            return "HZS" + decimalFormat.format(1);
 | 
			
		||||
        } else {
 | 
			
		||||
            return SysConstants.RETAIL_PREFIX + decimalFormat.format(Integer.parseInt(deptCode.replace(SysConstants.RETAIL_PREFIX, "")) + 1);
 | 
			
		||||
            return "HZS" + decimalFormat.format(Integer.parseInt(deptCode.replace("HZS", "")) + 1);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -275,6 +275,15 @@ public class PayController {
 | 
			
		|||
 | 
			
		||||
        OnlinePayConfigVO payConfigVO = new OnlinePayConfigVO();
 | 
			
		||||
 | 
			
		||||
        if (SecurityUtils.getUserId().equals(443418L)) {
 | 
			
		||||
            // 指定线上测试用户: HZS38355685
 | 
			
		||||
            payConfigVO.setPay81(Boolean.TRUE);
 | 
			
		||||
            payConfigVO.setPay82(Boolean.TRUE);
 | 
			
		||||
            payConfigVO.setPay83(Boolean.TRUE);
 | 
			
		||||
            payConfigVO.setPay84(Boolean.TRUE);
 | 
			
		||||
            return AjaxResult.success(payConfigVO);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // 各支付方式: true=显示,false=隐藏
 | 
			
		||||
 | 
			
		||||
        // 新汇付PC微信扫码支付
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue