select ID, SC_JS_ZLL, SC_JS_COD, SC_JS_ZONGDAN, SC_JS_ANDAN, SC_JS_ZONGLIN, SC_CS_COD, SC_CS_ZONGDAN, SC_CS_ANDAN, SC_CS_ZONGLIN, SC_CS_ZLL, JQR_1_QY_ANDAN, JQR_1_QY_ANDAN_TIME, JQR_1_QY_XIAODAN, JQR_1_QY_XIAODAN_TIME, JQR_1_HY_ANDAN, JQR_1_HY_ANDAN_TIME, JQR_1_HY_XIAODAN, JQR_1_HY_XIAODAN_TIME, JQR_2_QY_ANDAN, JQR_2_QY_ANDAN_TIME, JQR_2_QY_XIAODAN, JQR_2_QY_XIAODAN_TIME, JQR_2_HY_ANDAN, JQR_2_HY_ANDAN_TIME, JQR_2_HY_XIAODAN, JQR_2_HY_XIAODAN_TIME, JQR_SWC_COD, JQR_SWC_COD_TIME, TIME, JQR_1_HY_ZHENGLIN, JQR_1_HY_ZHENGLIN_TIME, JQR_2_HY_ZHENGLIN, JQR_2_HY_ZHENGLIN_TIME, JQR_SWC_ZHENGLIN, JQR_SWC_ZHENGLIN_TIME from T_SHUJU_1 insert into T_SHUJU_1 ID, SC_JS_ZLL, SC_JS_COD, SC_JS_ZONGDAN, SC_JS_ANDAN, SC_JS_ZONGLIN, SC_CS_COD, SC_CS_ZONGDAN, SC_CS_ANDAN, SC_CS_ZONGLIN, SC_CS_ZLL, JQR_1_QY_ANDAN, JQR_1_QY_ANDAN_TIME, JQR_1_QY_XIAODAN, JQR_1_QY_XIAODAN_TIME, JQR_1_HY_ANDAN, JQR_1_HY_ANDAN_TIME, JQR_1_HY_XIAODAN, JQR_1_HY_XIAODAN_TIME, JQR_2_QY_ANDAN, JQR_2_QY_ANDAN_TIME, JQR_2_QY_XIAODAN, JQR_2_QY_XIAODAN_TIME, JQR_2_HY_ANDAN, JQR_2_HY_ANDAN_TIME, JQR_2_HY_XIAODAN, JQR_2_HY_XIAODAN_TIME, JQR_SWC_COD, JQR_SWC_COD_TIME, TIME, JQR_1_HY_ZHENGLIN, JQR_1_HY_ZHENGLIN_TIME, JQR_2_HY_ZHENGLIN, JQR_2_HY_ZHENGLIN_TIME, JQR_SWC_ZHENGLIN, JQR_SWC_ZHENGLIN_TIME, #{ID}, #{scJsZll}, #{scJsCod}, #{scJsZongdan}, #{scJsAndan}, #{scJsZonglin}, #{scCsCod}, #{scCsZongdan}, #{scCsAndan}, #{scCsZonglin}, #{scCsZll}, #{jqr1QyAndan}, #{jqr1QyAndanTime}, #{jqr1QyXiaodan}, #{jqr1QyXiaodanTime}, #{jqr1HyAndan}, #{jqr1HyAndanTime}, #{jqr1HyXiaodan}, #{jqr1HyXiaodanTime}, #{jqr2QyAndan}, #{jqr2QyAndanTime}, #{jqr2QyXiaodan}, #{jqr2QyXiaodanTime}, #{jqr2HyAndan}, #{jqr2HyAndanTime}, #{jqr2HyXiaodan}, #{jqr2HyXiaodanTime}, #{jqrSwcCod}, #{jqrSwcCodTime}, #{TIME}, #{jqr1HyZhenglin}, #{jqr1HyZhenglinTime}, #{jqr2HyZhenglin}, #{jqr2HyZhenglinTime}, #{jqrSwcZhenglin}, #{jqrSwcZhenglinTime}, update T_SHUJU_1 SC_JS_ZLL = #{scJsZll}, SC_JS_COD = #{scJsCod}, SC_JS_ZONGDAN = #{scJsZongdan}, SC_JS_ANDAN = #{scJsAndan}, SC_JS_ZONGLIN = #{scJsZonglin}, SC_CS_COD = #{scCsCod}, SC_CS_ZONGDAN = #{scCsZongdan}, SC_CS_ANDAN = #{scCsAndan}, SC_CS_ZONGLIN = #{scCsZonglin}, SC_CS_ZLL = #{scCsZll}, JQR_1_QY_ANDAN = #{jqr1QyAndan}, JQR_1_QY_ANDAN_TIME = #{jqr1QyAndanTime}, JQR_1_QY_XIAODAN = #{jqr1QyXiaodan}, JQR_1_QY_XIAODAN_TIME = #{jqr1QyXiaodanTime}, JQR_1_HY_ANDAN = #{jqr1HyAndan}, JQR_1_HY_ANDAN_TIME = #{jqr1HyAndanTime}, JQR_1_HY_XIAODAN = #{jqr1HyXiaodan}, JQR_1_HY_XIAODAN_TIME = #{jqr1HyXiaodanTime}, JQR_2_QY_ANDAN = #{jqr2QyAndan}, JQR_2_QY_ANDAN_TIME = #{jqr2QyAndanTime}, JQR_2_QY_XIAODAN = #{jqr2QyXiaodan}, JQR_2_QY_XIAODAN_TIME = #{jqr2QyXiaodanTime}, JQR_2_HY_ANDAN = #{jqr2HyAndan}, JQR_2_HY_ANDAN_TIME = #{jqr2HyAndanTime}, JQR_2_HY_XIAODAN = #{jqr2HyXiaodan}, JQR_2_HY_XIAODAN_TIME = #{jqr2HyXiaodanTime}, JQR_SWC_COD = #{jqrSwcCod}, JQR_SWC_COD_TIME = #{jqrSwcCodTime}, TIME = #{TIME}, JQR_1_HY_ZHENGLIN = #{jqr1HyZhenglin}, JQR_1_HY_ZHENGLIN_TIME = #{jqr1HyZhenglinTime}, JQR_2_HY_ZHENGLIN = #{jqr2HyZhenglin}, JQR_2_HY_ZHENGLIN_TIME = #{jqr2HyZhenglinTime}, JQR_SWC_ZHENGLIN = #{jqrSwcZhenglin}, JQR_SWC_ZHENGLIN_TIME = #{jqrSwcZhenglinTime}, ,revision = revision + 1 where ID = #{ID} update T_SHUJU_1 set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID = #{ID} update T_SHUJU_1 set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID in #{ID}