select dict_id, dict_name, dict_type, status, create_by, create_time, remark from system_dict_type
AND status = #{status}
AND dict_name LIKE '%' || #{dictName} || '%'
AND dict_type LIKE '%' || #{dictType} || '%'
AND create_time >= #{params.beginTime}
AND create_time <= #{params.endTime}
AND dict_name like concat('%', #{dictName}, '%')
AND dict_type like concat('%', #{dictType}, '%')
and date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
and date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
where dict_id = #{dictId}
where dict_type = #{dictType}
where dict_type = #{dictType} limit 1
delete from system_dict_type where dict_id = #{dictId}
delete from system_dict_type where dict_id in #{dictId}
update system_dict_type dict_name = #{dictName}, dict_type = #{dictType}, status = #{status}, remark = #{remark}, update_by = #{updateBy}, update_time = sysdate() where dict_id = #{dictId}
insert into system_dict_type( dict_name, dict_type, status, remark, create_by, create_time )values( #{dictName}, #{dictType}, #{status}, #{remark}, #{createBy}, sysdate() )