|
|
@ -66,8 +66,8 @@ public interface DfCheckingProblemV2Mapper extends BaseMapper<DfCheckingProblemV |
|
|
|
|
|
|
|
@Select("<script> " + |
|
|
|
"select DATE_FORMAT(create_time, '%Y-%m-%d') as myDate,count(*) as mySum from bs_sgc_df_xcqx where 1=1 " + |
|
|
|
"<if test='data.startTime != null'> and xm.create_time >= #{data.startTime} </if> " + |
|
|
|
"<if test='data.endTime != null'> and xm.create_time <= #{data.endTime} </if> " + |
|
|
|
"<if test='data.startTime != null'> and create_time >= #{data.startTime} </if> " + |
|
|
|
"<if test='data.endTime != null'> and create_time <= #{data.endTime} </if> " + |
|
|
|
"<if test='data.code != null and data.code != \"\"'>" + |
|
|
|
"and dike_code = #{data.code} " + |
|
|
|
"</if>" + |
|
|
|