| | |
| | | <result property="scriptType" column="script_type"/> |
| | | <result property="scriptcode" column="script_code"/> |
| | | <result property="scriptDesc" column="script_desc"/> |
| | | <result property="scriptPicture" column="script_picture"/> |
| | | <result property="picturePath" column="picture_path"/> |
| | | <result property="sort" column="sort"/> |
| | | <result property="ismandatory" column="ismandatory"/> |
| | | <result property="ishide" column="ishide"/> |
| | |
| | | suitway, |
| | | isavailable, |
| | | otherdata, |
| | | script_picture, |
| | | picture_path, |
| | | language, |
| | | icd10_name |
| | | from svy_lib_script |
| | |
| | | <if test="scoretype != null and scoretype!=''">scoretype,</if> |
| | | <if test="score != null and score!=''">score,</if> |
| | | <if test="icd10Name != null and icd10Name!=''">icd10_name,</if> |
| | | <if test="scriptPicture != null and scriptPicture != ''">script_picture,</if> |
| | | <if test="picturePath != null and picturePath != ''">picture_path,</if> |
| | | <if test="scriptTopic != null and scriptTopic != ''">script_topic,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | |
| | | <if test="scoretype != null and scoretype!=''">#{scoretype},</if> |
| | | <if test="score != null and score!=''">#{score},</if> |
| | | <if test="icd10Name != null and icd10Name!=''">#{icd10Name},</if> |
| | | <if test="scriptPicture != null and scriptPicture != ''">#{scriptPicture},</if> |
| | | <if test="picturePath != null and picturePath != ''">#{picturePath},</if> |
| | | <if test="scriptTopic != null and scriptTopic != ''">#{scriptTopic},</if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="scoretype != null and scoretype!=''">scoretype = #{scoretype},</if> |
| | | <if test="score != null and score!=''">score = #{score},</if> |
| | | <if test="icd10Name != null and icd10Name!=''">icd10_name = #{icd10Name},</if> |
| | | <if test="scriptPicture != null and scriptPicture != ''">script_picture = #{scriptPicture},</if> |
| | | <if test="picturePath != null and picturePath != ''">picture_path = #{picturePath},</if> |
| | | <if test="scriptTopic != null and scriptTopic != ''">script_topic = #{scriptTopic},</if> |
| | | </trim> |
| | | where id = #{id} |