SYS_USER SYS_ROLE USER_ID, USERNAME, PASSWORD, NAME, ROLE_ID, LAST_LOGIN, IP, STATUS, BZ, SKIN, EMAIL, NUMBER, PHONE, ROLE_IDS, DEPARTMENT_ID, POST_ID, ISMAIN, FUN_IDS, SORT, PERSON_TYPE, IS_HAZARDCONFIRMER, IS_ONLINELEARNING, LEARNERCATEGORY, USERAVATARPREFIX, USERAVATARURL, SHIFTDUTYONE, SHIFTDUTYTWO, DURATION, WORKSTATUS, WORKPERIOD, JCR, CORPINFO_ID, ISDELETE f.USER_ID, f.USERNAME, f.PASSWORD, f.NAME, f.ROLE_ID, f.LAST_LOGIN, f.ERROR_COUNT, f.IP, f.STATUS, f.BZ, f.SKIN, f.EMAIL, f.NUMBER, f.PHONE, f.ROLE_IDS, f.DEPARTMENT_ID, f.POST_ID, f.ISMAIN, f.FUN_IDS, f.SORT, f.PERSON_TYPE, f.IS_HAZARDCONFIRMER, f.IS_ONLINELEARNING, f.LEARNERCATEGORY, f.USERAVATARPREFIX, f.USERAVATARURL, f.SHIFTDUTYONE, f.SHIFTDUTYTWO, f.DURATION, f.WORKSTATUS, f.WORKPERIOD, f.JCR, f.CORPINFO_ID, f.ISDELETE #{USER_ID}, #{USERNAME}, #{PASSWORD}, #{NAME}, #{ROLE_ID}, #{LAST_LOGIN}, #{IP}, #{STATUS}, #{BZ}, #{SKIN}, #{EMAIL}, #{NUMBER}, #{PHONE}, #{ROLE_IDS}, #{DEPARTMENT_ID}, #{POST_ID}, #{ISMAIN}, #{FUN_IDS}, #{SORT}, #{PERSON_TYPE}, #{IS_HAZARDCONFIRMER}, #{IS_ONLINELEARNING}, #{LEARNERCATEGORY}, #{USERAVATARPREFIX}, #{USERAVATARURL}, #{SHIFTDUTYONE}, #{SHIFTDUTYTWO}, #{DURATION}, #{WORKSTATUS}, #{WORKPERIOD}, #{JCR}, #{CORPINFO_ID}, #{ISDELETE} insert into ( ) values ( ) update set NAME = #{NAME}, DEPARTMENT_ID = #{DEPARTMENT_ID}, POST_ID =#{POST_ID}, ROLE_ID = #{ROLE_ID}, ROLE_IDS = #{ROLE_IDS}, BZ = #{BZ}, EMAIL = #{EMAIL}, NUMBER = #{NUMBER}, SORT = #{SORT}, PERSON_TYPE = #{PERSON_TYPE}, IS_HAZARDCONFIRMER = #{IS_HAZARDCONFIRMER}, IS_ONLINELEARNING = #{IS_ONLINELEARNING}, PHONE = #{PHONE} ,DURATION = #{DURATION} ,WORKSTATUS = #{WORKSTATUS} ,WORKPERIOD = #{WORKPERIOD} ,SHIFTDUTYONE = #{SHIFTDUTYONE} ,SHIFTDUTYTWO = #{SHIFTDUTYTWO} ,PASSWORD = #{PASSWORD} ,USERNAME = #{USERNAME} ,JCR = #{JCR} where USER_ID = #{USER_ID} update set PASSWORD = #{PASSWORD} where USER_ID = #{USER_ID} update set SHIFTDUTYONE = #{SHIFTDUTYONE}, SHIFTDUTYTWO = #{SHIFTDUTYTWO}, DURATION = #{DURATION}, WORKSTATUS = #{WORKSTATUS}, WORKPERIOD = #{WORKPERIOD} where USER_ID = #{USER_ID} update set PUSH_CID = #{PUSH_CID} where USER_ID = #{USER_ID} update set IP = #{IP}, LAST_LOGIN = #{LAST_LOGIN}, ERROR_COUNT = 0 where USERNAME = #{USERNAME} update set SKIN = #{SKIN} where USERNAME = #{USERNAME} update set ISDELETE = '1' where USER_ID = #{USER_ID} update set ISDELETE = '1' where USER_ID in #{item} update set FUN_IDS = #{FUN_IDS} where USER_ID = #{USER_ID} update sys_user SET ISAGREEPROTOCOL = '1' where APPID = #{APPID} update set STATUS = #{LOCK_STATUS}, ERROR_COUNT = #{ERROR_COUNT} ,LAST_LOGIN = #{LAST_LOGIN} where USER_ID = #{USER_ID}