叶松
2023-11-29 3707ace2281019ed0421b59674fc549020239903
hd/pipe/secure/src/main/resources/mapping/IntegralDetailMapper.xml
@@ -236,8 +236,9 @@
      SELECT
        t.*,
        spu.real_name realName,
        spu.user_type userTypeName
      FROM t_integral_detail t
        spu.user_type userTypeName,
        DATE_FORMAT(t.createTime, '%Y-%m-%d %H:%m:%s') createDate
    FROM t_integral_detail t
      LEFT JOIN sys_plat_user spu on spu.user_id = t.userId
      WHERE t.isUse = 1 and t.type = 2  and t.companyId = #{companyId}
      <if test="userId != null and userId !=''">
@@ -280,7 +281,7 @@
  <select id="selectSafeIntegralInfo" resultType="com.thhy.secure.modules.biz.integralAccount.entity.IntegralDetailDto">
    SELECT
            t.*,
            DATE_FORMAT(t.createTime, '%Y-%m-%d') createDate
            DATE_FORMAT(t.createTime, '%Y-%m-%d %H:%m:%s') createDate
    FROM t_integral_detail t
    WHERE t.isUse = 1
    <if test="companyId != null and companyId !=''">