BUS_INSPECTION_SAFETYENVIRONMENTAL
SYS_DICTIONARIES
f.INSPECTION_LEADDEPARTMENT_ID,
f.INSPECTION_SUBJECT,
f.INSPECTION_SOURCE,
f.INSPECTION_ORIGINATOR_ID,
f.INSPECTED_DEPARTMENT_ID,
f.INSPECTED_SITEUSER_ID,
f.INSPECTED_EXPLAIN,
f.INSPECTED_EXPLAIN_FILENAME,
f.INSPECTED_EXPLAIN_FILEPATH,
f.INSPECTED_SITEUSER_SIGN_IMG,
f.INSPECTED_SITEUSER_SIGN_TIME,
f.INSPECTED_EXPLAIN_REFUSE,
f.INSPECTION_ORIGINATOR_SIGN_IMG,
f.INSPECTION_ORIGINATOR_SIGN_TIME,
f.INSPECTION_TYPE,
f.INSPECTION_TYPE_OTHER,
f.INSPECTION_PLACE,
f.INSPECTION_TIME_START,
f.INSPECTION_TIME_END,
f.INSPECTION_STATUS,
f.ISDELETE,
f.CREATOR,
f.CREATTIME,
f.OPERATOR,
f.OPERATTIME,
f.CORPINFO_ID,
f.INSPECTION_ID
INSPECTION_LEADDEPARTMENT_ID,
INSPECTION_SUBJECT,
INSPECTION_SOURCE,
INSPECTION_ORIGINATOR_ID,
INSPECTED_DEPARTMENT_ID,
INSPECTED_SITEUSER_ID,
INSPECTED_EXPLAIN,
INSPECTED_EXPLAIN_FILENAME,
INSPECTED_EXPLAIN_FILEPATH,
INSPECTED_SITEUSER_SIGN_IMG,
INSPECTED_SITEUSER_SIGN_TIME,
INSPECTED_EXPLAIN_REFUSE,
INSPECTION_ORIGINATOR_SIGN_IMG,
INSPECTION_ORIGINATOR_SIGN_TIME,
INSPECTION_TYPE,
INSPECTION_TYPE_OTHER,
INSPECTION_PLACE,
INSPECTION_TIME_START,
INSPECTION_TIME_END,
INSPECTION_STATUS,
ISDELETE,
CREATOR,
CREATTIME,
OPERATOR,
OPERATTIME,
CORPINFO_ID,
INSPECTION_ID
#{INSPECTION_LEADDEPARTMENT_ID},
#{INSPECTION_SUBJECT},
#{INSPECTION_SOURCE},
#{INSPECTION_ORIGINATOR_ID},
#{INSPECTED_DEPARTMENT_ID},
#{INSPECTED_SITEUSER_ID},
#{INSPECTED_EXPLAIN},
#{INSPECTED_EXPLAIN_FILENAME},
#{INSPECTED_EXPLAIN_FILEPATH},
#{INSPECTED_SITEUSER_SIGN_IMG},
#{INSPECTED_SITEUSER_SIGN_TIME},
#{INSPECTED_EXPLAIN_REFUSE},
#{INSPECTION_ORIGINATOR_SIGN_IMG},
#{INSPECTION_ORIGINATOR_SIGN_TIME},
#{INSPECTION_TYPE},
#{INSPECTION_TYPE_OTHER},
#{INSPECTION_PLACE},
#{INSPECTION_TIME_START},
#{INSPECTION_TIME_END},
#{INSPECTION_STATUS},
#{ISDELETE},
#{CREATOR},
#{CREATTIME},
#{OPERATOR},
#{OPERATTIME},
#{CORPINFO_ID},
#{INSPECTION_ID}
insert into
(
) values (
)
update
set
ISDELETE = '1',
OPERATOR = #{OPERATOR},
OPERATTIME = #{OPERATTIME}
where
INSPECTION_ID = #{INSPECTION_ID}
update
set
INSPECTION_LEADDEPARTMENT_ID = #{INSPECTION_LEADDEPARTMENT_ID},
INSPECTION_SUBJECT = #{INSPECTION_SUBJECT},
INSPECTION_ORIGINATOR_ID = #{INSPECTION_ORIGINATOR_ID},
INSPECTED_DEPARTMENT_ID = #{INSPECTED_DEPARTMENT_ID},
INSPECTED_SITEUSER_ID = #{INSPECTED_SITEUSER_ID},
INSPECTED_EXPLAIN = #{INSPECTED_EXPLAIN},
INSPECTED_EXPLAIN_FILENAME = #{INSPECTED_EXPLAIN_FILENAME},
INSPECTED_EXPLAIN_FILEPATH = #{INSPECTED_EXPLAIN_FILEPATH},
INSPECTED_SITEUSER_SIGN_IMG = #{INSPECTED_SITEUSER_SIGN_IMG},
INSPECTED_SITEUSER_SIGN_TIME = #{INSPECTED_SITEUSER_SIGN_TIME},
INSPECTED_EXPLAIN_REFUSE = #{INSPECTED_EXPLAIN_REFUSE},
INSPECTION_ORIGINATOR_SIGN_IMG = #{INSPECTION_ORIGINATOR_SIGN_IMG},
INSPECTION_ORIGINATOR_SIGN_TIME = #{INSPECTION_ORIGINATOR_SIGN_TIME},
INSPECTION_TYPE = #{INSPECTION_TYPE},
INSPECTION_TYPE_OTHER = #{INSPECTION_TYPE_OTHER},
INSPECTION_PLACE = #{INSPECTION_PLACE},
INSPECTION_TIME_START = #{INSPECTION_TIME_START},
INSPECTION_TIME_END = #{INSPECTION_TIME_END},
INSPECTION_STATUS = #{INSPECTION_STATUS},
OPERATOR = #{OPERATOR},
OPERATTIME = #{OPERATTIME},
INSPECTION_ID = INSPECTION_ID
where
INSPECTION_ID = #{INSPECTION_ID}
update
set
INSPECTION_STATUS = '8'
where
INSPECTION_ID = #{INSPECTION_ID}
update
set
ISDELETE = '1',
OPERATOR = #{OPERATOR},
OPERATTIME = #{OPERATTIME}
where
INSPECTION_ID in
#{item}
update
set
INSPECTION_STATUS = #{INSPECTION_STATUS},
OPERATOR = #{OPERATOR},
OPERATTIME = #{OPERATTIME},
INSPECTION_ID = INSPECTION_ID
where
INSPECTION_ID = #{INSPECTION_ID}