| | |
| | | and bu.name like concat(concat('%',#{smsRecord.userName}),'%') |
| | | </if> |
| | | <if test="smsRecord.resName!=null and smsRecord.resName!=''"> |
| | | and a.name like concat(concat('%',#{smsRecord.resName}),'%') |
| | | and a."name" like concat(concat('%',#{smsRecord.resName}),'%') |
| | | </if> |
| | | <if test="smsRecord.startTime!=null and smsRecord.startTime!=''"> |
| | | and DATE_FORMAT(smr.create_time,'%Y-%m-%d') >= #{smsRecord.startTime} |
| | |
| | | and bu.name like concat(concat('%',#{smsRecord.userName}),'%') |
| | | </if> |
| | | <if test="smsRecord.resName!=null and smsRecord.resName!=''"> |
| | | and a.name like concat(concat('%',#{smsRecord.resName}),'%') |
| | | and a."name" like concat(concat('%',#{smsRecord.resName}),'%') |
| | | </if> |
| | | <if test="smsRecord.startTime!=null and smsRecord.startTime!=''"> |
| | | and DATE_FORMAT(ssr.create_time,'%Y-%m-%d') >= #{smsRecord.startTime} |
| | |
| | | and bu.name like concat(concat('%',#{smsRecord.userName}),'%') |
| | | </if> |
| | | <if test="smsRecord.resName!=null and smsRecord.resName!=''"> |
| | | and a.name like concat(concat('%',#{smsRecord.resName}),'%') |
| | | and a."name" like concat(concat('%',#{smsRecord.resName}),'%') |
| | | </if> |
| | | <if test="smsRecord.startTime!=null and smsRecord.startTime!=''"> |
| | | and DATE_FORMAT(ssr.create_time,'%Y-%m-%d') >= #{smsRecord.startTime} |
| | |
| | | and bu.name like concat(concat('%',#{smsRecord.userName}),'%') |
| | | </if> |
| | | <if test="smsRecord.resName!=null and smsRecord.resName!=''"> |
| | | and a.name like concat(concat('%',#{smsRecord.resName}),'%') |
| | | and a."name" like concat(concat('%',#{smsRecord.resName}),'%') |
| | | </if> |
| | | <if test="smsRecord.startTime!=null and smsRecord.startTime!=''"> |
| | | and DATE_FORMAT(smr.create_time,'%Y-%m-%d') >= #{smsRecord.startTime} |