a.ID,
a.dept_NO,
a.dept_ID,
a.RULE_UPDATE_TIME,
a.RULE_UPDATE_PERSON,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME,a.post_flag
AND a.ID = #{tAutoMainRel.id}
AND a.DEPT_NO = #{tAutoMainRel.deptNo}
AND a.DEPT_ID = #{tAutoMainRel.deptId}
AND a.RULE_UPDATE_TIME = #{tAutoMainRel.ruleUpdateTime}
AND a.RULE_UPDATE_PERSON = #{tAutoMainRel.ruleUpdatePerson}
AND a.CREATE_BY = #{tAutoMainRel.createBy}
AND a.CREATE_NAME = #{tAutoMainRel.createName}
AND a.CREATE_TIME = #{tAutoMainRel.createTime}
AND a.UPDATE_BY = #{tAutoMainRel.updateBy}
AND a.UPDATE_TIME = #{tAutoMainRel.updateTime}
${tAutoMainRel.authSql}