wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/store/SmallWeChatServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -130,6 +130,7 @@
            t.obj_id,t.obj_id objId,
            t.obj_type,t.obj_type objType,
            t.mch_id,t.mch_id mchId,
        t.mch_name mchName,
            t.wechat_type, t.wechat_type weChatType,
            d.name objTypeName
        from small_wechat t left join t_dict d on t.obj_type = d.status_cd and d.table_name = 'small_wechat' and d.table_columns = 'obj_type'
@@ -166,6 +167,15 @@
        </if>
        <if test="remarks !=null and remarks != ''">
            and t.remarks= #{remarks}
        </if>
        <if test="objType !=null and objType != ''">
            and t.obj_type= #{objType}
        </if>
        <if test="objId !=null and objId != ''">
            and t.obj_id= #{objId}
        </if>
        <if test="mchId !=null and mchId != ''">
            and t.mch_id= #{mchId}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
@@ -259,6 +269,12 @@
        <if test="remarks !=null and remarks != ''">
            and t.remarks= #{remarks}
        </if>
        <if test="objType !=null and objType != ''">
            and t.obj_type= #{objType}
        </if>
        <if test="objId !=null and objId != ''">
            and t.obj_id= #{objId}
        </if>
    </select>