and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} BookEntHTId, SysEnterpriseId, BookEntCheckId, BeCheckedTime, BeCheckedPerson, HiddenArea, ConfirmTime, HTSource, HTType, HTLevel, RectifyDepartment, RectifyUserId, RectifyPerson, RectifyTime, TempRectify, GovDocNo, GovValBill, IsGov, IsWatch, HTReview, HTState, HTReport, HTPerson, AcceptPerson, AcceptPersonId, AcceptTime, HiddenTroubleUnit, APPRectifyImgBefore, APPRectifyImgAfter, ChkGovBillDetailId, BookEntCheckDetailId, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy RectifyResult delete from bookentht_company where BookEntHTId = #{bookenthtid,jdbcType=VARCHAR} delete from bookentht_company insert into bookentht_company (BookEntHTId, SysEnterpriseId, BookEntCheckId,chkgovbilldetailid,bookentcheckdetailid, BeCheckedTime, BeCheckedPerson, HiddenArea, ConfirmTime, HTSource, HTLevel, rectifyUserId,isWatch,hTType, RectifyDepartment, RectifyPerson, RectifyTime, TempRectify, GovDocNo, GovValBill, RectifyResult, IsGov, HTReview, HTState, HTReport, HTPerson, AcceptPerson, AcceptPersonId, AcceptTime, HiddenTroubleUnit, APPRectifyImgBefore, APPRectifyImgAfter, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy) values (#{bookenthtid,jdbcType=VARCHAR}, #{sysenterpriseid,jdbcType=VARCHAR}, #{bookentcheckid,jdbcType=VARCHAR}, #{chkgovbilldetailid,jdbcType=VARCHAR}, #{bookentcheckdetailid,jdbcType=VARCHAR}, #{becheckedtime,jdbcType=TIMESTAMP}, #{becheckedperson,jdbcType=VARCHAR}, #{hiddenarea,jdbcType=VARCHAR}, #{confirmtime,jdbcType=TIMESTAMP}, #{htsource,jdbcType=VARCHAR}, #{htlevel,jdbcType=VARCHAR}, #{rectifyUserId,jdbcType=VARCHAR}, #{isWatch,jdbcType=VARCHAR}, #{hTType,jdbcType=VARCHAR}, #{rectifydepartment,jdbcType=VARCHAR}, #{rectifyperson,jdbcType=VARCHAR}, #{rectifytime,jdbcType=TIMESTAMP}, #{temprectify,jdbcType=VARCHAR}, #{govdocno,jdbcType=VARCHAR}, #{govvalbill,jdbcType=VARCHAR}, #{rectifyresult,jdbcType=VARCHAR}, #{isgov,jdbcType=VARCHAR}, #{htreview,jdbcType=VARCHAR}, #{htstate,jdbcType=VARCHAR}, #{htreport,jdbcType=VARCHAR}, #{htperson,jdbcType=VARCHAR}, #{acceptperson,jdbcType=VARCHAR}, #{acceptpersonid,jdbcType=VARCHAR}, #{accepttime,jdbcType=TIMESTAMP}, #{hiddentroubleunit,jdbcType=VARCHAR}, #{apprectifyimgbefore,jdbcType=VARCHAR}, #{apprectifyimgafter,jdbcType=VARCHAR}, #{createdon,jdbcType=TIMESTAMP}, #{createdby,jdbcType=VARCHAR}, #{modifiedon,jdbcType=TIMESTAMP}, #{modifiedby,jdbcType=VARCHAR}) insert into bookentht_company BookEntHTId, SysEnterpriseId, BookEntCheckId, BeCheckedTime, BeCheckedPerson, HiddenArea, ConfirmTime, HTSource, HTType, HTLevel, RectifyDepartment, RectifyUserId, RectifyPerson, RectifyTime, TempRectify, GovDocNo, GovValBill, IsGov, IsWatch, HTReview, HTState, HTReport, HTPerson, AcceptPerson, AcceptPersonId, AcceptTime, HiddenTroubleUnit, APPRectifyImgBefore, APPRectifyImgAfter, ChkGovBillDetailId, BookEntCheckDetailId, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy, RectifyResult, #{bookenthtid,jdbcType=VARCHAR}, #{sysenterpriseid,jdbcType=VARCHAR}, #{bookentcheckid,jdbcType=VARCHAR}, #{becheckedtime,jdbcType=TIMESTAMP}, #{becheckedperson,jdbcType=VARCHAR}, #{hiddenarea,jdbcType=VARCHAR}, #{confirmtime,jdbcType=TIMESTAMP}, #{htsource,jdbcType=VARCHAR}, #{httype,jdbcType=VARCHAR}, #{htlevel,jdbcType=VARCHAR}, #{rectifydepartment,jdbcType=VARCHAR}, #{rectifyuserid,jdbcType=VARCHAR}, #{rectifyperson,jdbcType=VARCHAR}, #{rectifytime,jdbcType=TIMESTAMP}, #{temprectify,jdbcType=VARCHAR}, #{govdocno,jdbcType=VARCHAR}, #{govvalbill,jdbcType=VARCHAR}, #{isgov,jdbcType=VARCHAR}, #{iswatch,jdbcType=VARCHAR}, #{htreview,jdbcType=VARCHAR}, #{htstate,jdbcType=VARCHAR}, #{htreport,jdbcType=VARCHAR}, #{htperson,jdbcType=VARCHAR}, #{acceptperson,jdbcType=VARCHAR}, #{acceptpersonid,jdbcType=VARCHAR}, #{accepttime,jdbcType=TIMESTAMP}, #{hiddentroubleunit,jdbcType=VARCHAR}, #{apprectifyimgbefore,jdbcType=VARCHAR}, #{apprectifyimgafter,jdbcType=VARCHAR}, #{chkgovbilldetailid,jdbcType=VARCHAR}, #{bookentcheckdetailid,jdbcType=VARCHAR}, #{createdon,jdbcType=TIMESTAMP}, #{createdby,jdbcType=VARCHAR}, #{modifiedon,jdbcType=TIMESTAMP}, #{modifiedby,jdbcType=VARCHAR}, #{rectifyresult,jdbcType=LONGVARCHAR}, update bookentht_company BookEntHTId = #{record.bookenthtid,jdbcType=VARCHAR}, SysEnterpriseId = #{record.sysenterpriseid,jdbcType=VARCHAR}, BookEntCheckId = #{record.bookentcheckid,jdbcType=VARCHAR}, BeCheckedTime = #{record.becheckedtime,jdbcType=TIMESTAMP}, BeCheckedPerson = #{record.becheckedperson,jdbcType=VARCHAR}, HiddenArea = #{record.hiddenarea,jdbcType=VARCHAR}, ConfirmTime = #{record.confirmtime,jdbcType=TIMESTAMP}, HTSource = #{record.htsource,jdbcType=VARCHAR}, HTType = #{record.httype,jdbcType=VARCHAR}, HTLevel = #{record.htlevel,jdbcType=VARCHAR}, RectifyDepartment = #{record.rectifydepartment,jdbcType=VARCHAR}, RectifyUserId = #{record.rectifyuserid,jdbcType=VARCHAR}, RectifyPerson = #{record.rectifyperson,jdbcType=VARCHAR}, RectifyTime = #{record.rectifytime,jdbcType=TIMESTAMP}, TempRectify = #{record.temprectify,jdbcType=VARCHAR}, GovDocNo = #{record.govdocno,jdbcType=VARCHAR}, GovValBill = #{record.govvalbill,jdbcType=VARCHAR}, IsGov = #{record.isgov,jdbcType=VARCHAR}, IsWatch = #{record.iswatch,jdbcType=VARCHAR}, HTReview = #{record.htreview,jdbcType=VARCHAR}, HTState = #{record.htstate,jdbcType=VARCHAR}, HTReport = #{record.htreport,jdbcType=VARCHAR}, HTPerson = #{record.htperson,jdbcType=VARCHAR}, AcceptPerson = #{record.acceptperson,jdbcType=VARCHAR}, AcceptPersonId = #{record.acceptpersonid,jdbcType=VARCHAR}, AcceptTime = #{record.accepttime,jdbcType=TIMESTAMP}, HiddenTroubleUnit = #{record.hiddentroubleunit,jdbcType=VARCHAR}, APPRectifyImgBefore = #{record.apprectifyimgbefore,jdbcType=VARCHAR}, APPRectifyImgAfter = #{record.apprectifyimgafter,jdbcType=VARCHAR}, ChkGovBillDetailId = #{record.chkgovbilldetailid,jdbcType=VARCHAR}, BookEntCheckDetailId = #{record.bookentcheckdetailid,jdbcType=VARCHAR}, CreatedOn = #{record.createdon,jdbcType=TIMESTAMP}, CreatedBy = #{record.createdby,jdbcType=VARCHAR}, ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR}, RectifyResult = #{record.rectifyresult,jdbcType=LONGVARCHAR}, update bookentht_company set BookEntHTId = #{record.bookenthtid,jdbcType=VARCHAR}, SysEnterpriseId = #{record.sysenterpriseid,jdbcType=VARCHAR}, BookEntCheckId = #{record.bookentcheckid,jdbcType=VARCHAR}, BeCheckedTime = #{record.becheckedtime,jdbcType=TIMESTAMP}, BeCheckedPerson = #{record.becheckedperson,jdbcType=VARCHAR}, HiddenArea = #{record.hiddenarea,jdbcType=VARCHAR}, ConfirmTime = #{record.confirmtime,jdbcType=TIMESTAMP}, HTSource = #{record.htsource,jdbcType=VARCHAR}, HTType = #{record.httype,jdbcType=VARCHAR}, HTLevel = #{record.htlevel,jdbcType=VARCHAR}, RectifyDepartment = #{record.rectifydepartment,jdbcType=VARCHAR}, RectifyUserId = #{record.rectifyuserid,jdbcType=VARCHAR}, RectifyPerson = #{record.rectifyperson,jdbcType=VARCHAR}, RectifyTime = #{record.rectifytime,jdbcType=TIMESTAMP}, TempRectify = #{record.temprectify,jdbcType=VARCHAR}, GovDocNo = #{record.govdocno,jdbcType=VARCHAR}, GovValBill = #{record.govvalbill,jdbcType=VARCHAR}, IsGov = #{record.isgov,jdbcType=VARCHAR}, IsWatch = #{record.iswatch,jdbcType=VARCHAR}, HTReview = #{record.htreview,jdbcType=VARCHAR}, HTState = #{record.htstate,jdbcType=VARCHAR}, HTReport = #{record.htreport,jdbcType=VARCHAR}, HTPerson = #{record.htperson,jdbcType=VARCHAR}, AcceptPerson = #{record.acceptperson,jdbcType=VARCHAR}, AcceptPersonId = #{record.acceptpersonid,jdbcType=VARCHAR}, AcceptTime = #{record.accepttime,jdbcType=TIMESTAMP}, HiddenTroubleUnit = #{record.hiddentroubleunit,jdbcType=VARCHAR}, APPRectifyImgBefore = #{record.apprectifyimgbefore,jdbcType=VARCHAR}, APPRectifyImgAfter = #{record.apprectifyimgafter,jdbcType=VARCHAR}, ChkGovBillDetailId = #{record.chkgovbilldetailid,jdbcType=VARCHAR}, BookEntCheckDetailId = #{record.bookentcheckdetailid,jdbcType=VARCHAR}, CreatedOn = #{record.createdon,jdbcType=TIMESTAMP}, CreatedBy = #{record.createdby,jdbcType=VARCHAR}, ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR}, RectifyResult = #{record.rectifyresult,jdbcType=LONGVARCHAR} update bookentht_company set BookEntHTId = #{record.bookenthtid,jdbcType=VARCHAR}, SysEnterpriseId = #{record.sysenterpriseid,jdbcType=VARCHAR}, BookEntCheckId = #{record.bookentcheckid,jdbcType=VARCHAR}, BeCheckedTime = #{record.becheckedtime,jdbcType=TIMESTAMP}, BeCheckedPerson = #{record.becheckedperson,jdbcType=VARCHAR}, HiddenArea = #{record.hiddenarea,jdbcType=VARCHAR}, ConfirmTime = #{record.confirmtime,jdbcType=TIMESTAMP}, HTSource = #{record.htsource,jdbcType=VARCHAR}, HTType = #{record.httype,jdbcType=VARCHAR}, HTLevel = #{record.htlevel,jdbcType=VARCHAR}, RectifyDepartment = #{record.rectifydepartment,jdbcType=VARCHAR}, RectifyUserId = #{record.rectifyuserid,jdbcType=VARCHAR}, RectifyPerson = #{record.rectifyperson,jdbcType=VARCHAR}, RectifyTime = #{record.rectifytime,jdbcType=TIMESTAMP}, TempRectify = #{record.temprectify,jdbcType=VARCHAR}, GovDocNo = #{record.govdocno,jdbcType=VARCHAR}, GovValBill = #{record.govvalbill,jdbcType=VARCHAR}, IsGov = #{record.isgov,jdbcType=VARCHAR}, IsWatch = #{record.iswatch,jdbcType=VARCHAR}, HTReview = #{record.htreview,jdbcType=VARCHAR}, HTState = #{record.htstate,jdbcType=VARCHAR}, HTReport = #{record.htreport,jdbcType=VARCHAR}, HTPerson = #{record.htperson,jdbcType=VARCHAR}, AcceptPerson = #{record.acceptperson,jdbcType=VARCHAR}, AcceptPersonId = #{record.acceptpersonid,jdbcType=VARCHAR}, AcceptTime = #{record.accepttime,jdbcType=TIMESTAMP}, HiddenTroubleUnit = #{record.hiddentroubleunit,jdbcType=VARCHAR}, APPRectifyImgBefore = #{record.apprectifyimgbefore,jdbcType=VARCHAR}, APPRectifyImgAfter = #{record.apprectifyimgafter,jdbcType=VARCHAR}, ChkGovBillDetailId = #{record.chkgovbilldetailid,jdbcType=VARCHAR}, BookEntCheckDetailId = #{record.bookentcheckdetailid,jdbcType=VARCHAR}, CreatedOn = #{record.createdon,jdbcType=TIMESTAMP}, CreatedBy = #{record.createdby,jdbcType=VARCHAR}, ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR} update bookentht_company SysEnterpriseId = #{sysenterpriseid,jdbcType=VARCHAR}, BookEntCheckId = #{bookentcheckid,jdbcType=VARCHAR}, BeCheckedTime = #{becheckedtime,jdbcType=TIMESTAMP}, BeCheckedPerson = #{becheckedperson,jdbcType=VARCHAR}, HiddenArea = #{hiddenarea,jdbcType=VARCHAR}, ConfirmTime = #{confirmtime,jdbcType=TIMESTAMP}, HTSource = #{htsource,jdbcType=VARCHAR}, HTType = #{httype,jdbcType=VARCHAR}, HTLevel = #{htlevel,jdbcType=VARCHAR}, RectifyDepartment = #{rectifydepartment,jdbcType=VARCHAR}, RectifyUserId = #{rectifyuserid,jdbcType=VARCHAR}, RectifyPerson = #{rectifyperson,jdbcType=VARCHAR}, RectifyTime = #{rectifytime,jdbcType=TIMESTAMP}, TempRectify = #{temprectify,jdbcType=VARCHAR}, GovDocNo = #{govdocno,jdbcType=VARCHAR}, GovValBill = #{govvalbill,jdbcType=VARCHAR}, IsGov = #{isgov,jdbcType=VARCHAR}, IsWatch = #{iswatch,jdbcType=VARCHAR}, HTReview = #{htreview,jdbcType=VARCHAR}, HTState = #{htstate,jdbcType=VARCHAR}, HTReport = #{htreport,jdbcType=VARCHAR}, HTPerson = #{htperson,jdbcType=VARCHAR}, AcceptPerson = #{acceptperson,jdbcType=VARCHAR}, AcceptPersonId = #{acceptpersonid,jdbcType=VARCHAR}, AcceptTime = #{accepttime,jdbcType=TIMESTAMP}, HiddenTroubleUnit = #{hiddentroubleunit,jdbcType=VARCHAR}, APPRectifyImgBefore = #{apprectifyimgbefore,jdbcType=VARCHAR}, APPRectifyImgAfter = #{apprectifyimgafter,jdbcType=VARCHAR}, ChkGovBillDetailId = #{chkgovbilldetailid,jdbcType=VARCHAR}, BookEntCheckDetailId = #{bookentcheckdetailid,jdbcType=VARCHAR}, CreatedOn = #{createdon,jdbcType=TIMESTAMP}, CreatedBy = #{createdby,jdbcType=VARCHAR}, ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{modifiedby,jdbcType=VARCHAR}, RectifyResult = #{rectifyresult,jdbcType=LONGVARCHAR}, where BookEntHTId = #{bookenthtid,jdbcType=VARCHAR} update bookentht_company set SysEnterpriseId = #{sysenterpriseid,jdbcType=VARCHAR}, BookEntCheckId = #{bookentcheckid,jdbcType=VARCHAR}, BeCheckedTime = #{becheckedtime,jdbcType=TIMESTAMP}, BeCheckedPerson = #{becheckedperson,jdbcType=VARCHAR}, HiddenArea = #{hiddenarea,jdbcType=VARCHAR}, ConfirmTime = #{confirmtime,jdbcType=TIMESTAMP}, HTSource = #{htsource,jdbcType=VARCHAR}, HTType = #{httype,jdbcType=VARCHAR}, HTLevel = #{htlevel,jdbcType=VARCHAR}, RectifyDepartment = #{rectifydepartment,jdbcType=VARCHAR}, RectifyUserId = #{rectifyuserid,jdbcType=VARCHAR}, RectifyPerson = #{rectifyperson,jdbcType=VARCHAR}, RectifyTime = #{rectifytime,jdbcType=TIMESTAMP}, TempRectify = #{temprectify,jdbcType=VARCHAR}, GovDocNo = #{govdocno,jdbcType=VARCHAR}, GovValBill = #{govvalbill,jdbcType=VARCHAR}, IsGov = #{isgov,jdbcType=VARCHAR}, IsWatch = #{iswatch,jdbcType=VARCHAR}, HTReview = #{htreview,jdbcType=VARCHAR}, HTState = #{htstate,jdbcType=VARCHAR}, HTReport = #{htreport,jdbcType=VARCHAR}, HTPerson = #{htperson,jdbcType=VARCHAR}, AcceptPerson = #{acceptperson,jdbcType=VARCHAR}, AcceptPersonId = #{acceptpersonid,jdbcType=VARCHAR}, AcceptTime = #{accepttime,jdbcType=TIMESTAMP}, HiddenTroubleUnit = #{hiddentroubleunit,jdbcType=VARCHAR}, APPRectifyImgBefore = #{apprectifyimgbefore,jdbcType=VARCHAR}, APPRectifyImgAfter = #{apprectifyimgafter,jdbcType=VARCHAR}, ChkGovBillDetailId = #{chkgovbilldetailid,jdbcType=VARCHAR}, BookEntCheckDetailId = #{bookentcheckdetailid,jdbcType=VARCHAR}, CreatedOn = #{createdon,jdbcType=TIMESTAMP}, CreatedBy = #{createdby,jdbcType=VARCHAR}, ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{modifiedby,jdbcType=VARCHAR}, RectifyResult = #{rectifyresult,jdbcType=LONGVARCHAR} where BookEntHTId = #{bookenthtid,jdbcType=VARCHAR} update bookentht_company set SysEnterpriseId = #{sysenterpriseid,jdbcType=VARCHAR}, BookEntCheckId = #{bookentcheckid,jdbcType=VARCHAR}, BeCheckedTime = #{becheckedtime,jdbcType=TIMESTAMP}, BeCheckedPerson = #{becheckedperson,jdbcType=VARCHAR}, HiddenArea = #{hiddenarea,jdbcType=VARCHAR}, ConfirmTime = #{confirmtime,jdbcType=TIMESTAMP}, HTSource = #{htsource,jdbcType=VARCHAR}, HTType = #{httype,jdbcType=VARCHAR}, HTLevel = #{htlevel,jdbcType=VARCHAR}, RectifyDepartment = #{rectifydepartment,jdbcType=VARCHAR}, RectifyUserId = #{rectifyuserid,jdbcType=VARCHAR}, RectifyPerson = #{rectifyperson,jdbcType=VARCHAR}, RectifyTime = #{rectifytime,jdbcType=TIMESTAMP}, TempRectify = #{temprectify,jdbcType=VARCHAR}, GovDocNo = #{govdocno,jdbcType=VARCHAR}, GovValBill = #{govvalbill,jdbcType=VARCHAR}, IsGov = #{isgov,jdbcType=VARCHAR}, IsWatch = #{iswatch,jdbcType=VARCHAR}, HTReview = #{htreview,jdbcType=VARCHAR}, HTState = #{htstate,jdbcType=VARCHAR}, HTReport = #{htreport,jdbcType=VARCHAR}, HTPerson = #{htperson,jdbcType=VARCHAR}, AcceptPerson = #{acceptperson,jdbcType=VARCHAR}, AcceptPersonId = #{acceptpersonid,jdbcType=VARCHAR}, AcceptTime = #{accepttime,jdbcType=TIMESTAMP}, HiddenTroubleUnit = #{hiddentroubleunit,jdbcType=VARCHAR}, APPRectifyImgBefore = #{apprectifyimgbefore,jdbcType=VARCHAR}, APPRectifyImgAfter = #{apprectifyimgafter,jdbcType=VARCHAR}, ChkGovBillDetailId = #{chkgovbilldetailid,jdbcType=VARCHAR}, BookEntCheckDetailId = #{bookentcheckdetailid,jdbcType=VARCHAR}, CreatedOn = #{createdon,jdbcType=TIMESTAMP}, CreatedBy = #{createdby,jdbcType=VARCHAR}, ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP}, ModifiedBy = #{modifiedby,jdbcType=VARCHAR} where BookEntHTId = #{bookenthtid,jdbcType=VARCHAR} update bookentht_company set HTState = #{entHtState},RectifyResult = #{rectifyResult} where BookEntHTId = #{htId} UPDATE bookentht_company SET RectifyUserId = #{rectifyUserId} WHERE BookEntHTId = #{bookEntHTId} UPDATE bookentht_company SET HTState = '未整改',HTReport = '' WHERE `RectifyTime` < NOW() AND HTState = '整改中'