浏览代码

update 分润设置

周箭河 5 年之前
父节点
当前提交
b690a474e6
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      mec-biz/src/main/resources/config/mybatis/SysPaymentConfigMapper.xml

+ 7 - 0
mec-biz/src/main/resources/config/mybatis/SysPaymentConfigMapper.xml

@@ -160,5 +160,12 @@
         FROM sys_payment_config spc
                  LEFT JOIN organization o on spc.organ_id_ = o.id_
         WHERE pay_type_ = #{payType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
+        <if test='payType != null and payType.code.equals("YQPAY")'>
+            AND spc.yq_mer_no_ is not null
+        </if>
+        <if test='payType != null and payType.code.equals("ADAPAY")'>
+            AND spc.hf_mer_no_ is not null
+        </if>
+
     </select>
 </mapper>