and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
RoleDataRangeID, RoleID, MenuNo, DataRangeID, CreateBy, CreateTime
delete from sys_role_datarange
where RoleDataRangeID = #{roleDataRangeID,jdbcType=VARCHAR}
delete from sys_role_datarange
insert into sys_role_datarange (RoleDataRangeID, RoleID, MenuNo,
DataRangeID, CreateBy, CreateTime
)
values (#{roleDataRangeID,jdbcType=VARCHAR}, #{roleID,jdbcType=VARCHAR}, #{menuNo,jdbcType=VARCHAR},
#{dataRangeID,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}
)
insert into sys_role_datarange
RoleDataRangeID,
RoleID,
MenuNo,
DataRangeID,
CreateBy,
CreateTime,
#{roleDataRangeID,jdbcType=VARCHAR},
#{roleID,jdbcType=VARCHAR},
#{menuNo,jdbcType=VARCHAR},
#{dataRangeID,jdbcType=INTEGER},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
update sys_role_datarange
RoleDataRangeID = #{row.roleDataRangeID,jdbcType=VARCHAR},
RoleID = #{row.roleID,jdbcType=VARCHAR},
MenuNo = #{row.menuNo,jdbcType=VARCHAR},
DataRangeID = #{row.dataRangeID,jdbcType=INTEGER},
CreateBy = #{row.createBy,jdbcType=VARCHAR},
CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
update sys_role_datarange
set RoleDataRangeID = #{row.roleDataRangeID,jdbcType=VARCHAR},
RoleID = #{row.roleID,jdbcType=VARCHAR},
MenuNo = #{row.menuNo,jdbcType=VARCHAR},
DataRangeID = #{row.dataRangeID,jdbcType=INTEGER},
CreateBy = #{row.createBy,jdbcType=VARCHAR},
CreateTime = #{row.createTime,jdbcType=TIMESTAMP}
update sys_role_datarange
RoleID = #{roleID,jdbcType=VARCHAR},
MenuNo = #{menuNo,jdbcType=VARCHAR},
DataRangeID = #{dataRangeID,jdbcType=INTEGER},
CreateBy = #{createBy,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
where RoleDataRangeID = #{roleDataRangeID,jdbcType=VARCHAR}
update sys_role_datarange
set RoleID = #{roleID,jdbcType=VARCHAR},
MenuNo = #{menuNo,jdbcType=VARCHAR},
DataRangeID = #{dataRangeID,jdbcType=INTEGER},
CreateBy = #{createBy,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP}
where RoleDataRangeID = #{roleDataRangeID,jdbcType=VARCHAR}