Authored by mali

去除删除的功能

... ... @@ -7,7 +7,6 @@ import java.util.List;
public interface BuyerOrderFeedbackMapper {
int deleteByPrimaryKey(Integer id);
int insert(BuyerOrderFeedback record);
... ...
... ... @@ -6,7 +6,6 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface QualityCheckMapper {
int deleteByOrderCode(@Param("orderCode") Long orderCode);
//int insert(QualityCheck record);
... ...
... ... @@ -4,7 +4,6 @@ import com.yoho.ufo.dal.model.GoodsImages;
import java.util.List;
public interface GoodsImagesMapper {
int deleteByPrimaryKey(Integer id);
int insert(GoodsImages record);
... ...
... ... @@ -6,7 +6,6 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface GoodsMapper {
int deleteByPrimaryKey(Integer id);
int insert(Goods record);
... ...
... ... @@ -3,7 +3,6 @@ package com.yoho.ufo.dal;
import com.yoho.ufo.dal.model.ProductImportTranItem;
public interface ProductImportTranItemMapper {
int deleteByPrimaryKey(Integer id);
int insert(ProductImportTranItem record);
... ...
... ... @@ -3,7 +3,6 @@ package com.yoho.ufo.dal;
import com.yoho.ufo.dal.model.ProductImportTran;
public interface ProductImportTranMapper {
int deleteByPrimaryKey(Integer id);
int insert(ProductImportTran record);
... ...
... ... @@ -7,7 +7,6 @@ import org.apache.ibatis.annotations.Param;
import com.yoho.ufo.dal.model.ProductLimitSale;
public interface ProductLimitSaleMapper {
int deleteByPrimaryKey(Integer id);
int insert(ProductLimitSale record);
... ...
... ... @@ -7,7 +7,6 @@ import org.apache.ibatis.annotations.Param;
import com.yoho.ufo.dal.model.Product;
public interface ProductMapper {
int deleteByPrimaryKey(Integer id);
int insert(Product record);
... ...
... ... @@ -20,10 +20,7 @@
where order_code = #{orderCode}
order by create_time desc
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from buyer_order_feedback
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.yoho.order.model.BuyerOrderFeedback" >
insert into buyer_order_feedback (id, uid, order_code,
operator_uid, operator_name, content,
... ...
... ... @@ -9,10 +9,7 @@
<result column="image_url" jdbcType="VARCHAR" property="imageUrl" />
<result column="order_by" jdbcType="INTEGER" property="orderBy" />
</resultMap>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from goods_images
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.yoho.ufo.dal.model.GoodsImages">
insert into goods_images (id, goods_id, product_id,
is_default, image_url, order_by
... ...
... ... @@ -10,10 +10,7 @@
<result column="color_image" jdbcType="VARCHAR" property="colorImage" />
<result column="is_default" jdbcType="CHAR" property="isDefault" />
</resultMap>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from goods
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.yoho.ufo.dal.model.Goods" useGeneratedKeys="true" keyProperty="id" >
insert into goods (id, product_id, color_id,
color_name, goods_name, color_image,
... ...
... ... @@ -25,10 +25,7 @@
from product_import_tran_item
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from product_import_tran_item
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.yoho.ufo.dal.model.ProductImportTranItem" >
insert into product_import_tran_item (id, tran_id, uid,
product_code, size_name, price,
... ...
... ... @@ -19,10 +19,6 @@
from product_import_tran
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from product_import_tran
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.yoho.ufo.dal.model.ProductImportTran" useGeneratedKeys="true" keyProperty="id" >
insert into product_import_tran (id, edit_uid, uid,
status, create_time, update_time,num
... ...
... ... @@ -45,10 +45,7 @@
and del_status=0 and uid=#{uid}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from product_limit_sale
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.yoho.ufo.dal.model.ProductLimitSale" >
insert into product_limit_sale (id, product_id, uid,
profit_rate, create_time, del_status
... ...
... ... @@ -23,10 +23,7 @@
<result column="del_status" jdbcType="INTEGER" property="delStatus" />
<result column="age_level" jdbcType="VARCHAR" property="ageLevel" />
</resultMap>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from product
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.yoho.ufo.dal.model.Product" useGeneratedKeys="true" keyProperty="id" >
insert into product (id, product_name, product_code,
max_sort_id, mid_sort_id, brand_id,
... ...
... ... @@ -36,10 +36,7 @@
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByOrderCode" parameterType="java.lang.Integer">
delete from quality_check
where order_code = #{orderCode}
</delete>
<!--
<insert id="insert" parameterType="com.yoho.order.model.QualityCheck">
... ...