insert into work_pool( work_cycle,create_user_id,create_user_name,store_id,work_name,work_id,wt_id,create_user_tel,start_time,end_time,state,community_id ) values ( #{workCycle},#{createUserId},#{createUserName},#{storeId},#{workName},#{workId},#{wtId},#{createUserTel},#{startTime},#{endTime},#{state},#{communityId} ) update work_pool t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.work_cycle= #{workCycle} , t.create_user_id= #{createUserId} , t.create_user_name= #{createUserName} , t.store_id= #{storeId} , t.work_name= #{workName} , t.wt_id= #{wtId} , t.create_user_tel= #{createUserTel} , t.start_time= #{startTime} , t.end_time= #{endTime} , t.state= #{state} where 1=1 and t.work_id= #{workId} and t.community_id= #{communityId}