| | |
| | | <mapper namespace="com.kidgrow.oprationcenter.mapper.ProductOrderMapper"> |
| | | <!--定义查询列--> |
| | | <sql id="Column_List"> |
| | | * |
| | | DISTINCT * |
| | | </sql> |
| | | |
| | | <!--sql查询片段--> |
| | |
| | | <if test="p.createTime != null and p.createTime !=''"> |
| | | and create_time = #{p.createTime} |
| | | </if> |
| | | <include refid="com.kidgrow.oprationcenter.mapper.SysProductMapper.Role_Organization"></include> |
| | | </where> |
| | | </sql> |
| | | |
| | |
| | | <include refid="where"/> |
| | | order by id desc |
| | | </select> |
| | | <update id="delProductDetail"> |
| | | UPDATE product_order_record SET is_del=1,update_time=now() WHERE order_id= #{orderId}; |
| | | UPDATE product_order_detail SET is_del=1,update_time=now() WHERE order_id= #{orderId}; |
| | | </update> |
| | | </mapper> |