| | |
| | | </if> |
| | | </select> |
| | | |
| | | <update id="upInsOrderParameter" parameterType="com.yuanchu.mom.pojo.InsOrder"> |
| | | UPDATE ins_order |
| | | <set> |
| | | <if test="entrustCode!=null and entrustCode!='' ">entrust_code=#{entrustCode},</if> |
| | | <if test="sample_Code!=null ">sample_code=#{sampleCode},</if> |
| | | <if test="custom!=null ">custom=#{custom},</if> |
| | | <if test="company!=null ">company=#{company}</if> |
| | | <if test="code!=null ">code=#{code}</if> |
| | | <if test="type!=null ">type=#{type}</if> |
| | | <if test="appointedTime!=null ">appointed_time=#{appointedTime}</if> |
| | | <if test="laboratory!=null ">laboratory=#{laboratory}</if> |
| | | <if test="smapleType!=null ">smaple_type=#{smapleType}</if> |
| | | <if test="model!=null ">model=#{model}</if> |
| | | <if test="sample!=null ">sample=#{sample}</if> |
| | | <if test="sampleNum!=null ">sample_num=#{sampleNum}</if> |
| | | <if test="isLeave!=null ">is_leave=#{isLeave}</if> |
| | | <if test="leaveNum!=null ">leave_num=#{leaveNum}</if> |
| | | <if test="insProgress!=null ">ins_progress=#{insProgress}</if> |
| | | <if test="state!=null ">state=#{state}</if> |
| | | <if test="remark!=null ">remark=#{remark}</if> |
| | | <if test="otcCode!=null ">otc_code=#{otcCode}</if> |
| | | <if test="createUser!=null ">create_user=#{createUser}</if> |
| | | <if test="createTime!=null ">create_time=#{createTime}</if> |
| | | <if test="updateUser!=null ">update_user=#{updateUser}</if> |
| | | <if test="updateTime!=null ">update_time=#{updateTime}</if> |
| | | </set> |
| | | <where> |
| | | id=#{id} |
| | | </where> |
| | | </update> |
| | | |
| | | </mapper> |