!注意:持っている必要があります
<更新ID = "updateByPrimaryKeySelective"のParameterType = "com.dhht.model.order.OrderInfo">
更新order_info
<設定>
<もしテスト= "sendOutStatus!= NULL">
send_out_status =#{sendOutStatus、jdbcType = CHAR} 、
</ >もし
テスト= "districtId!= NULL">場合<
district_id =#{districtId、jdbcType = CHAR} 、
</ IF>
<もしテスト= "isCancel!= NULL">
is_cancel =#{isCancel、jdbcType = CHAR} 、
</ IF>
<テスト= "cancelTime!= NULL"であれば>
cancel_time =#{cancelTime、jdbcType = TIMESTAMP} 、
</ IF>
</設定>
ここで、ID =#{ID、jdbcType = CHAR}
</更新>