UPDATE FORMFIELD SET FIELDISSHOW = #{fieldIsShow} WHERE FORMID = #{formID} AND TENANTID = #{tenantID} AND FIELDKEY = #{fieldKey} UPDATE FORMFIELD SET SEARCHISSHOW = #{searchIsShow} WHERE FORMID = #{formID} AND TENANTID = #{tenantID} AND FIELDKEY = #{fieldKey} UPDATE FORMDATAMANAGER SET DATAROWNUM = #{datarowNum} WHERE FORMID = #{formID} AND TENANTID = #{tenantID} AND FORMDATANUM = 0 AND DELETEFLG = '0' ${excuteSql} ${excuteSql} ${excuteSql} /*!mycat:sql=select tenantid from FORMDATAMANAGER WHERE TENANTID = '%s' AND FROMID = '%s' */ UPDATE FORMDATA_${formState.tenantID}_${formState.formID} SET FORMSTATE = #{formState.formStateData} WHERE TENANTID = #{formState.tenantID}