SYS_USER SYS_ROLE USER_ID, USERNAME, PASSWORD, NAME, ROLE_ID, LAST_LOGIN, IP, STATUS, BZ, SKIN, EMAIL, SEX, NUMBER, PHONE, ROLE_IDS, DEPARTMENT_ID, POST_ID, ISMAIN, FUN_IDS, SORT, LEARNERCATEGORY, USERAVATARPREFIX, USERAVATARURL, SHIFTDUTYONE, SHIFTDUTYTWO, DURATION, WORKSTATUS, WORKPERIOD, ISSTUDENT, RIGHTS, CORPINFO_ID, IS_SAFETY, ISDELETE, ISHEAD, CARDNO, PLS_ID, ISLEADER #{USER_ID}, #{USERNAME}, #{PASSWORD}, #{NAME}, #{ROLE_ID}, #{LAST_LOGIN}, #{IP}, #{STATUS}, #{BZ}, #{SKIN}, #{EMAIL}, #{NUMBER}, #{SEX}, #{PHONE}, #{ROLE_IDS}, #{DEPARTMENT_ID}, #{POST_ID}, #{ISMAIN}, #{FUN_IDS}, #{SORT}, #{LEARNERCATEGORY}, #{USERAVATARPREFIX}, #{USERAVATARURL}, #{SHIFTDUTYONE}, #{SHIFTDUTYTWO}, #{DURATION}, #{WORKSTATUS}, #{WORKPERIOD}, #{ISSTUDENT}, #{RIGHTS}, #{CORPINFO_ID}, #{IS_SAFETY}, 0, #{ISHEAD}, #{CARDNO}, #{PLS_ID}, #{ISLEADER} f.USER_ID, f.USERNAME, f.PASSWORD, f.NAME, f.ROLE_ID, f.LAST_LOGIN, f.IP, f.STATUS, f.BZ, f.SKIN, f.EMAIL, f.NUMBER, f.SEX, f.PHONE, f.ROLE_IDS, f.DEPARTMENT_ID, f.POST_ID, f.ISMAIN, f.FUN_IDS, f.SORT, f.LEARNERCATEGORY, f.USERAVATARPREFIX, f.USERAVATARURL, f.SHIFTDUTYONE, f.SHIFTDUTYTWO, f.DURATION, f.WORKSTATUS, f.WORKPERIOD, f.ISSTUDENT, f.IS_SAFETY, f.CORPINFO_ID, f.ISHEAD, f.CARDNO, f.PLS_ID, f.ISLEADER insert into ( ) values ( ) update set ISSTUDENT = 'true' where USER_ID = #{USER_ID} update set NAME = #{NAME}, DEPARTMENT_ID = #{DEPARTMENT_ID}, POST_ID =#{POST_ID}, ROLE_ID = #{ROLE_ID}, ROLE_IDS = #{ROLE_IDS}, BZ = #{BZ}, SEX = #{SEX}, EMAIL = #{EMAIL}, NUMBER = #{NUMBER}, SORT = #{SORT}, CARDNO = #{CARDNO}, PHONE = #{PHONE} ,LEARNERCATEGORY = #{LEARNERCATEGORY} ,USERAVATARPREFIX = #{USERAVATARPREFIX} ,USERAVATARURL = #{USERAVATARURL} ,DURATION = #{DURATION} ,WORKSTATUS = #{WORKSTATUS} ,WORKPERIOD = #{WORKPERIOD} ,SHIFTDUTYONE = #{SHIFTDUTYONE} ,SHIFTDUTYTWO = #{SHIFTDUTYTWO} ,PASSWORD = #{PASSWORD} ,ISSTUDENT = #{ISSTUDENT} ,IS_SAFETY = #{IS_SAFETY} ,ISHEAD = #{ISHEAD} ,ISLEADER = #{ISLEADER} where USER_ID = #{USER_ID} update set PASSWORD = #{PASSWORD} where USER_ID = #{USER_ID} update set PUSH_CID = #{PUSH_CID} where USER_ID = #{USER_ID} update set IP = #{IP}, LAST_LOGIN = #{LAST_LOGIN} where USERNAME = #{USERNAME} update set SKIN = #{SKIN} where USERNAME = #{USERNAME} update set ISDELETE = 1 where USER_ID = #{USER_ID} and USER_ID != '1' update set ISDELETE = 1 where USER_ID in #{item} and USER_ID != '1' update set FUN_IDS = #{FUN_IDS} where USER_ID = #{USER_ID} update sys_user SET ISAGREEPROTOCOL = '1' where APPID = #{APPID} update sys_user SET USER_ID = #{USER_ID} , DURATION = #{DURATION} , WORKSTATUS = #{WORKSTATUS} , WORKPERIOD = #{WORKPERIOD} where USER_ID = #{USER_ID} UPDATE u SET u.LEARNERCATEGORY = NULL WHERE u.CORPINFO_ID = #{CORPINFO_ID} and u.LEARNERCATEGORY = #{DICTIONARIES_ID} update set USERNAME = #{USERNAME}, NAME = #{NAME}, PASSWORD = #{PASSWORD} where USERNAME = #{OLDUSERNAME} and CORPINFO_ID = #{CORPINFO_ID} update set CARDNO = null where CORPINFO_ID = #{CORPINFO_ID} and CARDNO in #{item} update set CARDNO = #{cardNo} where PLS_ID = #{psnId} update set ID_PHOTO = #{ID_PHOTO}, SIGNATURE_FILE_PATH = #{SIGNATURE_FILE_PATH}, OPERATOR = #{OPERATOR}, OPERATTIME = #{OPERATTIME} where USER_ID = #{USER_ID} update set AUTHENTICATION = #{AUTHENTICATION}, OPERATOR = #{OPERATOR}, OPERATTIME = #{OPERATTIME} where USER_ID = #{USER_ID} and AUTHENTICATION = '0' update set CORPINFO_ID = #{CORPINFO_ID}, DEPARTMENT_ID = #{DEPARTMENT_ID}, POST_ID = #{POST_ID}, SHIFTDUTYONE = #{SHIFTDUTYONE}, SHIFTDUTYTWO = #{SHIFTDUTYTWO}, DURATION = #{DURATION}, WORKSTATUS = #{WORKSTATUS}, WORKPERIOD = #{WORKPERIOD} ,SORT = #{SORT} where USER_ID = #{USER_ID} update set NAME = #{NAME}, PHONE = #{PHONE}, USER_ID = USER_ID where USER_ID = #{USER_ID}