insert into maintainance_standard(
standard_name,standard_id,remark,community_id
) values (
#{standardName},#{standardId},#{remark},#{communityId}
)
update maintainance_standard t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.standard_name= #{standardName}
, t.remark= #{remark}
, t.community_id= #{communityId}
where 1=1
and t.standard_id= #{standardId}