@ -8,65 +8,65 @@
<update id= "updateUser" parameterType= "com.zdxt.enforcementcode.domain.SrzUser" >
UPDATE srz_user
<trim prefix= "SET" suffixOverrides= "," >
<if test= "ryztCode != null and ryztCode != ''" > ryztCode = #{ryztC ode},</if>
<if test= "mobileNumber != null and mobileNumber != ''" > mobileNumber = #{mobileN umber},</if>
<if test= "ryztcode != null and ryztcode != ''" > ryztCode = #{ryztc ode},</if>
<if test= "mobilenumber != null and mobilenumber != ''" > mobileNumber = #{mobilen umber},</if>
<if test= "zcgzld != null and zcgzld != ''" > zcgzld = #{zcgzld},</if>
<if test= "gldw != null and gldw != ''" > gldw = #{gldw},</if>
<if test= "updateAt != null and updateAt != ''" > updateAt = #{updateA t},</if>
<if test= "zwjcCode != null and zwjcCode != ''" > zwjcCode = #{zwjcC ode},</if>
<if test= "effectOn != null and effectOn != ''" > effectOn = #{effectO n},</if>
<if test= "updateat != null and updateat != ''" > updateAt = #{updatea t},</if>
<if test= "zwjccode != null and zwjccode != ''" > zwjcCode = #{zwjcc ode},</if>
<if test= "effecton != null and effecton != ''" > effectOn = #{effecto n},</if>
<if test= "zwjc != null and zwjc != ''" > zwjc = #{zwjc},</if>
<if test= "organizationId != null and organizationId != ''" > organizationId = #{organizationI d},</if>
<if test= "organizationid != null and organizationid != ''" > organizationId = #{organizationi d},</if>
<if test= "province != null and province != ''" > province = #{province},</if>
<if test= "isDisabled != null and isDisabled != ''" > isDisabled = #{isD isabled},</if>
<if test= "certificateTypeIdCode != null and certificateTypeIdCode != ''" > certificateTypeIdCode = #{certificateTypeIdC ode},</if>
<if test= "isdisabled != null and isdisabled != ''" > isDisabled = #{isd isabled},</if>
<if test= "certificatetypeidcode != null and certificatetypeidcode != ''" > certificateTypeIdCode = #{certificatetypeidc ode},</if>
<if test= "jrfs != null and jrfs != ''" > jrfs = #{jrfs},</if>
<if test= "spareNumber != null and spareNumber != ''" > spareNumber = #{spareN umber},</if>
<if test= "sparenumber != null and sparenumber != ''" > spareNumber = #{sparen umber},</if>
<if test= "positionname != null and positionname != ''" > positionname = #{positionname},</if>
<if test= "pylxcode != null and pylxcode != ''" > pylxcode = #{pylxcode},</if>
<if test= "jbcc != null and jbcc != ''" > jbcc = #{jbcc},</if>
<if test= "contractEndTime != null and contractEndTime != ''" > contractEndTime = #{contractEndT ime},</if>
<if test= "contractendtime != null and contractendtime != ''" > contractEndTime = #{contractendt ime},</if>
<if test= "sequence != null and sequence != ''" > sequence = #{sequence},</if>
<if test= "genderCode != null and genderCode != ''" > genderCode = #{genderC ode},</if>
<if test= "zwwxMobile != null and zwwxMobile != ''" > zwwxMobile = #{zwwxM obile},</if>
<if test= "gendercode != null and gendercode != ''" > genderCode = #{genderc ode},</if>
<if test= "zwwxmobile != null and zwwxmobile != ''" > zwwxMobile = #{zwwxm obile},</if>
<if test= "district != null and district != ''" > district = #{district},</if>
<if test= "certificateTypeId != null and certificateTypeId != ''" > certificateTypeId = #{certificateTypeI d},</if>
<if test= "contractStartTime != null and contractStartTime != ''" > contractStartTime = #{contractStartT ime},</if>
<if test= "certificatetypeid != null and certificatetypeid != ''" > certificateTypeId = #{certificatetypei d},</if>
<if test= "contractstarttime != null and contractstarttime != ''" > contractStartTime = #{contractstartt ime},</if>
<if test= "rylydw != null and rylydw != ''" > rylydw = #{rylydw},</if>
<if test= "telephoneNumber != null and telephoneNumber != ''" > telephoneNumber = #{telephoneN umber},</if>
<if test= "telephonenumber != null and telephonenumber != ''" > telephoneNumber = #{telephonen umber},</if>
<if test= "gender != null and gender != ''" > gender = #{gender},</if>
<if test= "city != null and city != ''" > city = #{city},</if>
<if test= "jbccCode != null and jbccCode != ''" > jbccCode = #{jbccC ode},</if>
<if test= "jbcccode != null and jbcccode != ''" > jbccCode = #{jbccc ode},</if>
<if test= "rylb != null and rylb != ''" > rylb = #{rylb},</if>
<if test= "hometownCode != null and hometownCode != ''" > hometownCode = #{hometownC ode},</if>
<if test= "hometowncode != null and hometowncode != ''" > hometownCode = #{hometownc ode},</if>
<if test= "units != null and units != ''" > units = #{units},</if>
<if test= "srzUserid != null and srzUserid != ''" > srzUserid = #{srzU serid},</if>
<if test= "createAt != null and createAt != ''" > createAt = #{createA t},</if>
<if test= "engName != null and engName != ''" > engName = #{engN ame},</if>
<if test= "isDeleted != null and isDeleted != ''" > isDeleted = #{isD eleted},</if>
<if test= "srzuserid != null and srzuserid != ''" > srzUserid = #{srzu serid},</if>
<if test= "createat != null and createat != ''" > createAt = #{createa t},</if>
<if test= "engname != null and engname != ''" > engName = #{engn ame},</if>
<if test= "isdeleted != null and isdeleted != ''" > isDeleted = #{isd eleted},</if>
<if test= "jrfscode != null and jrfscode != ''" > jrfscode = #{jrfscode},</if>
<if test= "email != null and email != ''" > email = #{email},</if>
<if test= "zwbsCode != null and zwbsCode != ''" > zwbsCode = #{zwbsC ode},</if>
<if test= "zwbscode != null and zwbscode != ''" > zwbsCode = #{zwbsc ode},</if>
<if test= "dwzyld != null and dwzyld != ''" > dwzyld = #{dwzyld},</if>
<if test= "pylx != null and pylx != ''" > pylx = #{pylx},</if>
<if test= "systemId != null and systemId != ''" > systemId = #{systemI d},</if>
<if test= "rylbCode != null and rylbCode != ''" > rylbCode = #{rylbC ode},</if>
<if test= "systemid != null and systemid != ''" > systemId = #{systemi d},</if>
<if test= "rylbcode != null and rylbcode != ''" > rylbCode = #{rylbc ode},</if>
<if test= "hometown != null and hometown != ''" > hometown = #{hometown},</if>
<if test= "photo != null and photo != ''" > photo = #{photo},</if>
<if test= "glzrr != null and glzrr != ''" > glzrr = #{glzrr},</if>
<if test= "userId != null and userId != ''" > userId = #{userI d},</if>
<if test= "zwwxId != null and zwwxId != ''" > zwwxId = #{zwwxI d},</if>
<if test= "userid != null and userid != ''" > userId = #{useri d},</if>
<if test= "zwwxid != null and zwwxid != ''" > zwwxId = #{zwwxi d},</if>
<if test= "ryzt != null and ryzt != ''" > ryzt = #{ryzt},</if>
<if test= "certificateNumber != null and certificateNumber != ''" > certificateNumber = #{certificateN umber},</if>
<if test= "certificatenumber != null and certificatenumber != ''" > certificateNumber = #{certificaten umber},</if>
<if test= "zwbs != null and zwbs != ''" > zwbs = #{zwbs},</if>
<if test= "faxNumber != null and faxNumber != ''" > faxNumber = #{faxN umber},</if>
<if test= "faxnumber != null and faxnumber != ''" > faxNumber = #{faxn umber},</if>
<if test= "fullname != null and fullname != ''" > fullname = #{fullname},</if>
<if test= "isMappingPerson != null and isMappingPerson != ''" > isMappingPerson = #{isMappingP erson},</if>
<if test= "taskId != null and taskId != ''" > taskId = #{taskI d},</if>
<if test= "ismappingperson != null and ismappingperson != ''" > isMappingPerson = #{ismappingp erson},</if>
<if test= "taskid != null and taskid != ''" > taskId = #{taski d},</if>
<if test= "username != null and username != ''" > username = #{username},</if>
<if test= "needUpdate != null" > need_update = #{needUpdate},</if>
</trim>
WHERE userId = #{userI d}
WHERE userId = #{useri d}
</update>
<!-- 安全动态插入:只更新非空字段 -->
@ -74,121 +74,123 @@
INSERT INTO srz_user
<trim prefix= "(" suffix= ")" suffixOverrides= "," >
<if test= "guid != null and guid != ''" > guid,</if>
<if test= "ryztCode != null and ryztC ode != ''" > ryztCode,</if>
<if test= "mobileNumber != null and mobileN umber != ''" > mobileNumber,</if>
<if test= "ryztcode != null and ryztc ode != ''" > ryztCode,</if>
<if test= "mobilenumber != null and mobilen umber != ''" > mobileNumber,</if>
<if test= "zcgzld != null and zcgzld != ''" > zcgzld,</if>
<if test= "gldw != null and gldw != ''" > gldw,</if>
<if test= "updateAt != null and updateA t != ''" > updateAt,</if>
<if test= "zwjcCode != null and zwjcC ode != ''" > zwjcCode,</if>
<if test= "effectOn != null and effectO n != ''" > effectOn,</if>
<if test= "updateat != null and updatea t != ''" > updateAt,</if>
<if test= "zwjccode != null and zwjcc ode != ''" > zwjcCode,</if>
<if test= "effecton != null and effecto n != ''" > effectOn,</if>
<if test= "zwjc != null and zwjc != ''" > zwjc,</if>
<if test= "organizationId != null and organizationI d != ''" > organizationId,</if>
<if test= "organizationid != null and organizationi d != ''" > organizationId,</if>
<if test= "province != null and province != ''" > province,</if>
<if test= "isDisabled != null and isD isabled != ''" > isDisabled,</if>
<if test= "certificateTypeIdCode != null and certificateTypeIdC ode != ''" > certificateTypeIdCode,</if>
<if test= "isdisabled != null and isd isabled != ''" > isDisabled,</if>
<if test= "certificatetypeidcode != null and certificatetypeidc ode != ''" > certificateTypeIdCode,</if>
<if test= "jrfs != null and jrfs != ''" > jrfs,</if>
<if test= "spareNumber != null and spareN umber != ''" > spareNumber,</if>
<if test= "sparenumber != null and sparen umber != ''" > spareNumber,</if>
<if test= "positionname != null and positionname != ''" > positionname,</if>
<if test= "pylxcode != null and pylxcode != ''" > pylxcode,</if>
<if test= "jbcc != null and jbcc != ''" > jbcc,</if>
<if test= "contractEndTime != null and contractEndT ime != ''" > contractEndTime,</if>
<if test= "contractendtime != null and contractendt ime != ''" > contractEndTime,</if>
<if test= "sequence != null and sequence != ''" > sequence,</if>
<if test= "genderCode != null and genderC ode != ''" > genderCode,</if>
<if test= "zwwxMobile != null and zwwxM obile != ''" > zwwxMobile,</if>
<if test= "gendercode != null and genderc ode != ''" > genderCode,</if>
<if test= "zwwxmobile != null and zwwxm obile != ''" > zwwxMobile,</if>
<if test= "district != null and district != ''" > district,</if>
<if test= "certificateTypeId != null and certificateTypeI d != ''" > certificateTypeId,</if>
<if test= "contractStartTime != null and contractStartT ime != ''" > contractStartTime,</if>
<if test= "certificatetypeid != null and certificatetypei d != ''" > certificateTypeId,</if>
<if test= "contractstarttime != null and contractstartt ime != ''" > contractStartTime,</if>
<if test= "rylydw != null and rylydw != ''" > rylydw,</if>
<if test= "telephoneNumber != null and telephoneN umber != ''" > telephoneNumber,</if>
<if test= "telephonenumber != null and telephonen umber != ''" > telephoneNumber,</if>
<if test= "gender != null and gender != ''" > gender,</if>
<if test= "city != null and city != ''" > city,</if>
<if test= "jbccCode != null and jbccC ode != ''" > jbccCode,</if>
<if test= "jbcccode != null and jbccc ode != ''" > jbccCode,</if>
<if test= "rylb != null and rylb != ''" > rylb,</if>
<if test= "hometownCode != null and hometownC ode != ''" > hometownCode,</if>
<if test= "hometowncode != null and hometownc ode != ''" > hometownCode,</if>
<if test= "units != null and units != ''" > units,</if>
<if test= "srzUserid != null and srzU serid != ''" > srzUserid,</if>
<if test= "createAt != null and createA t != ''" > createAt,</if>
<if test= "engName != null and engN ame != ''" > engName,</if>
<if test= "isDeleted != null and isD eleted != ''" > isDeleted,</if>
<if test= "srzuserid != null and srzu serid != ''" > srzUserid,</if>
<if test= "createat != null and createa t != ''" > createAt,</if>
<if test= "engname != null and engn ame != ''" > engName,</if>
<if test= "isdeleted != null and isd eleted != ''" > isDeleted,</if>
<if test= "jrfscode != null and jrfscode != ''" > jrfscode,</if>
<if test= "email != null and email != ''" > email,</if>
<if test= "zwbsCode != null and zwbsC ode != ''" > zwbsCode,</if>
<if test= "zwbscode != null and zwbsc ode != ''" > zwbsCode,</if>
<if test= "dwzyld != null and dwzyld != ''" > dwzyld,</if>
<if test= "pylx != null and pylx != ''" > pylx,</if>
<if test= "systemId != null and systemI d != ''" > systemId,</if>
<if test= "rylbCode != null and rylbC ode != ''" > rylbCode,</if>
<if test= "systemid != null and systemi d != ''" > systemId,</if>
<if test= "rylbcode != null and rylbc ode != ''" > rylbCode,</if>
<if test= "hometown != null and hometown != ''" > hometown,</if>
<if test= "photo != null and photo != ''" > photo,</if>
<if test= "glzrr != null and glzrr != ''" > glzrr,</if>
<if test= "userId != null and userI d != ''" > userId,</if>
<if test= "zwwxId != null and zwwxI d != ''" > zwwxId,</if>
<if test= "userid != null and useri d != ''" > userId,</if>
<if test= "zwwxid != null and zwwxi d != ''" > zwwxId,</if>
<if test= "ryzt != null and ryzt != ''" > ryzt,</if>
<if test= "certificateNumber != null and certificateN umber != ''" > certificateNumber,</if>
<if test= "certificatenumber != null and certificaten umber != ''" > certificateNumber,</if>
<if test= "zwbs != null and zwbs != ''" > zwbs,</if>
<if test= "faxNumber != null and faxN umber != ''" > faxNumber,</if>
<if test= "faxnumber != null and faxn umber != ''" > faxNumber,</if>
<if test= "fullname != null and fullname != ''" > fullname,</if>
<if test= "isMappingPerson != null and isMappingP erson != ''" > isMappingPerson,</if>
<if test= "taskId != null and taskI d != ''" > taskId,</if>
<if test= "ismappingperson != null and ismappingp erson != ''" > isMappingPerson,</if>
<if test= "taskid != null and taski d != ''" > taskId,</if>
<if test= "username != null and username != ''" > username,</if>
<if test= "needUpdate != null" > need_update,</if>
</trim>
<trim prefix= "VALUES (" suffix= ")" suffixOverrides= "," >
<if test= "guid != null and guid != ''" > #{guid},</if>
<if test= "ryztCode != null and ryztCode != ''" > #{ryztC ode},</if>
<if test= "mobileNumber != null and mobileNumber != ''" > #{mobileN umber},</if>
<if test= "ryztcode != null and ryztcode != ''" > #{ryztc ode},</if>
<if test= "mobilenumber != null and mobilenumber != ''" > #{mobilen umber},</if>
<if test= "zcgzld != null and zcgzld != ''" > #{zcgzld},</if>
<if test= "gldw != null and gldw != ''" > #{gldw},</if>
<if test= "updateAt != null and updateAt != ''" > #{updateA t},</if>
<if test= "zwjcCode != null and zwjcCode != ''" > #{zwjcC ode},</if>
<if test= "effectOn != null and effectOn != ''" > #{effectO n},</if>
<if test= "updateat != null and updateat != ''" > #{updatea t},</if>
<if test= "zwjccode != null and zwjccode != ''" > #{zwjcc ode},</if>
<if test= "effecton != null and effecton != ''" > #{effecto n},</if>
<if test= "zwjc != null and zwjc != ''" > #{zwjc},</if>
<if test= "organizationId != null and organizationId != ''" > #{organizationI d},</if>
<if test= "organizationid != null and organizationid != ''" > #{organizationi d},</if>
<if test= "province != null and province != ''" > #{province},</if>
<if test= "isDisabled != null and isDisabled != ''" > #{isD isabled},</if>
<if test= "certificateTypeIdCode != null and certificateTypeIdCode != ''" > #{certificateTypeIdC ode},</if>
<if test= "isdisabled != null and isdisabled != ''" > #{isd isabled},</if>
<if test= "certificatetypeidcode != null and certificatetypeidcode != ''" > #{certificatetypeidc ode},</if>
<if test= "jrfs != null and jrfs != ''" > #{jrfs},</if>
<if test= "spareNumber != null and spareNumber != ''" > #{spareN umber},</if>
<if test= "sparenumber != null and sparenumber != ''" > #{sparen umber},</if>
<if test= "positionname != null and positionname != ''" > #{positionname},</if>
<if test= "pylxcode != null and pylxcode != ''" > #{pylxcode},</if>
<if test= "jbcc != null and jbcc != ''" > #{jbcc},</if>
<if test= "contractEndTime != null and contractEndTime != ''" > #{contractEndT ime},</if>
<if test= "contractendtime != null and contractendtime != ''" > #{contractendt ime},</if>
<if test= "sequence != null and sequence != ''" > #{sequence},</if>
<if test= "genderCode != null and genderCode != ''" > #{genderC ode},</if>
<if test= "zwwxMobile != null and zwwxMobile != ''" > #{zwwxM obile},</if>
<if test= "gendercode != null and gendercode != ''" > #{genderc ode},</if>
<if test= "zwwxmobile != null and zwwxmobile != ''" > #{zwwxm obile},</if>
<if test= "district != null and district != ''" > #{district},</if>
<if test= "certificateTypeId != null and certificateTypeId != ''" > #{certificateTypeI d},</if>
<if test= "contractStartTime != null and contractStartTime != ''" > #{contractStartT ime},</if>
<if test= "certificatetypeid != null and certificatetypeid != ''" > #{certificatetypei d},</if>
<if test= "contractstarttime != null and contractstarttime != ''" > #{contractstartt ime},</if>
<if test= "rylydw != null and rylydw != ''" > #{rylydw},</if>
<if test= "telephoneNumber != null and telephoneNumber != ''" > #{telephoneN umber},</if>
<if test= "telephonenumber != null and telephonenumber != ''" > #{telephonen umber},</if>
<if test= "gender != null and gender != ''" > #{gender},</if>
<if test= "city != null and city != ''" > #{city},</if>
<if test= "jbccCode != null and jbccCode != ''" > #{jbccC ode},</if>
<if test= "jbcccode != null and jbcccode != ''" > #{jbccc ode},</if>
<if test= "rylb != null and rylb != ''" > #{rylb},</if>
<if test= "hometownCode != null and hometownCode != ''" > #{hometownC ode},</if>
<if test= "hometowncode != null and hometowncode != ''" > #{hometownc ode},</if>
<if test= "units != null and units != ''" > #{units},</if>
<if test= "srzUserid != null and srzUserid != ''" > #{srzU serid},</if>
<if test= "createAt != null and createAt != ''" > #{createA t},</if>
<if test= "engName != null and engName != ''" > #{engN ame},</if>
<if test= "isDeleted != null and isDeleted != ''" > #{isD eleted},</if>
<if test= "srzuserid != null and srzuserid != ''" > #{srzu serid},</if>
<if test= "createat != null and createat != ''" > #{createa t},</if>
<if test= "engname != null and engname != ''" > #{engn ame},</if>
<if test= "isdeleted != null and isdeleted != ''" > #{isd eleted},</if>
<if test= "jrfscode != null and jrfscode != ''" > #{jrfscode},</if>
<if test= "email != null and email != ''" > #{email},</if>
<if test= "zwbsCode != null and zwbsCode != ''" > #{zwbsC ode},</if>
<if test= "zwbscode != null and zwbscode != ''" > #{zwbsc ode},</if>
<if test= "dwzyld != null and dwzyld != ''" > #{dwzyld},</if>
<if test= "pylx != null and pylx != ''" > #{pylx},</if>
<if test= "systemId != null and systemId != ''" > #{systemI d},</if>
<if test= "rylbCode != null and rylbCode != ''" > #{rylbC ode},</if>
<if test= "systemid != null and systemid != ''" > #{systemi d},</if>
<if test= "rylbcode != null and rylbcode != ''" > #{rylbc ode},</if>
<if test= "hometown != null and hometown != ''" > #{hometown},</if>
<if test= "photo != null and photo != ''" > #{photo},</if>
<if test= "glzrr != null and glzrr != ''" > #{glzrr},</if>
<if test= "userId != null and userId != ''" > #{userI d},</if>
<if test= "zwwxId != null and zwwxId != ''" > #{zwwxI d},</if>
<if test= "userid != null and userid != ''" > #{useri d},</if>
<if test= "zwwxid != null and zwwxid != ''" > #{zwwxi d},</if>
<if test= "ryzt != null and ryzt != ''" > #{ryzt},</if>
<if test= "certificateNumber != null and certificateNumber != ''" > #{certificateN umber},</if>
<if test= "certificatenumber != null and certificatenumber != ''" > #{certificaten umber},</if>
<if test= "zwbs != null and zwbs != ''" > #{zwbs},</if>
<if test= "faxNumber != null and faxNumber != ''" > #{faxN umber},</if>
<if test= "faxnumber != null and faxnumber != ''" > #{faxn umber},</if>
<if test= "fullname != null and fullname != ''" > #{fullname},</if>
<if test= "isMappingPerson != null and isMappingPerson != ''" > #{isMappingP erson},</if>
<if test= "taskId != null and taskId != ''" > #{taskI d},</if>
<if test= "ismappingperson != null and ismappingperson != ''" > #{ismappingp erson},</if>
<if test= "taskid != null and taskid != ''" > #{taski d},</if>
<if test= "username != null and username != ''" > #{username},</if>
<if test= "needUpdate != null" > #{needUpdate},</if>
</trim>
</insert>
</mapper>