INSERT INTO sys_white(ip,access_type,start_time,end_time,create_time)
VALUES (
#{ip},#{accessType},#{startTime},#{endTime},#{createTime}
)
UPDATE sys_white SET ip = #{ip},access_type = #{accessType},start_time = #{startTime},end_time = #{endTime},
create_time = #{createTime} WHERE id = #{id}
UPDATE sys_white SET del_flag = '1' WHERE id = #{id}
UPDATE sys_password_config SET pwd_strength = #{pwdStrength},min_length = #{minLength},max_length = #{maxLength}
WHERE id = #{id}