|  |  |  | 
|---|
|  |  |  | </resultMap> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <sql id="selectServiceThirdDataVo"> | 
|---|
|  |  |  | select id, data_type, data_type_explain, data_info, factory, create_time, is_deal | 
|---|
|  |  |  | select id, | 
|---|
|  |  |  | data_type, | 
|---|
|  |  |  | data_type_explain, | 
|---|
|  |  |  | data_info, | 
|---|
|  |  |  | factory, | 
|---|
|  |  |  | create_time, | 
|---|
|  |  |  | is_deal, | 
|---|
|  |  |  | remark | 
|---|
|  |  |  | from service_third_data | 
|---|
|  |  |  | </sql> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | </insert> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <update id="updateIsDeal" parameterType="long"> | 
|---|
|  |  |  | <update id="updateIsDeal" parameterType="com.smartor.domain.ServiceThirdData"> | 
|---|
|  |  |  | update service_third_data | 
|---|
|  |  |  | <trim prefix="SET" suffixOverrides=","> | 
|---|
|  |  |  | is_deal=1 | 
|---|
|  |  |  | is_deal=1, | 
|---|
|  |  |  | <if test="remark != null  and remark != ''">remark = #{remark}</if> | 
|---|
|  |  |  | </trim> | 
|---|
|  |  |  | where id = #{id} | 
|---|
|  |  |  | </update> | 
|---|