diff --git a/document/pdm/mall.pdb b/document/pdm/mall.pdb index 98f7a6c..77dd076 100644 --- a/document/pdm/mall.pdb +++ b/document/pdm/mall.pdb @@ -1,5 +1,5 @@ - + @@ -7562,9 +7562,9 @@ LABL 0 新宋体,8,N promotion_type 1522721953 zhenghong -1522722061 +1524633114 zhenghong -促销类型:0->使用促销价;1->使用会员价;2->使用阶梯价格;3->使用满减价格 +促销类型:0->没有促销使用原价;1->使用促销价;2->使用会员价;3->使用阶梯价格;4->使用满减价格 int(1) 1 @@ -8675,9 +8675,9 @@ LABL 0 新宋体,8,N id 1521792488 zhenghong -1521792502 +1524721741 zhenghong -int +bigint 1 1 @@ -9004,21 +9004,21 @@ LABL 0 新宋体,8,N A73883DF-2D36-497D-8D90-9EB0F5CF3C5B -pms_product_id -pms_product_id +product_id +product_id 1522046451 zhenghong -1522046492 +1524710981 zhenghong bigint 92ACF804-9722-47C3-826B-A2611338F2F6 -pms_product_attribute_id -pms_product_attribute_id +product_attribute_id +product_attribute_id 1522046456 zhenghong -1522046492 +1524710981 zhenghong bigint @@ -9911,9 +9911,10 @@ LABL 0 新宋体,8,N id 1522138235 zhenghong -1522138607 +1524711592 zhenghong bigint +1 1 diff --git a/document/pdm/mall.pdm b/document/pdm/mall.pdm index 67d1d04..77dd076 100644 --- a/document/pdm/mall.pdm +++ b/document/pdm/mall.pdm @@ -1,5 +1,5 @@ - + @@ -8675,9 +8675,9 @@ LABL 0 新宋体,8,N id 1521792488 zhenghong -1521792502 +1524721741 zhenghong -int +bigint 1 1 @@ -9004,21 +9004,21 @@ LABL 0 新宋体,8,N A73883DF-2D36-497D-8D90-9EB0F5CF3C5B -pms_product_id -pms_product_id +product_id +product_id 1522046451 zhenghong -1522046492 +1524710981 zhenghong bigint 92ACF804-9722-47C3-826B-A2611338F2F6 -pms_product_attribute_id -pms_product_attribute_id +product_attribute_id +product_attribute_id 1522046456 zhenghong -1522046492 +1524710981 zhenghong bigint @@ -9911,9 +9911,10 @@ LABL 0 新宋体,8,N id 1522138235 zhenghong -1522138607 +1524711592 zhenghong bigint +1 1 diff --git a/mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java b/mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java index cde6b09..1cf835f 100644 --- a/mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java +++ b/mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java @@ -3,6 +3,7 @@ package com.macro.mall; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.transaction.annotation.EnableTransactionManagement; /** * 应用启动入口 @@ -10,6 +11,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; */ @SpringBootApplication @MapperScan({"com.macro.mall.mapper","com.macro.mall.dao"}) +@EnableTransactionManagement public class MallAdminApplication { public static void main(String[] args) { SpringApplication.run(MallAdminApplication.class, args); diff --git a/mall-admin/src/main/java/com/macro/mall/dao/CmsPrefrenceAreaProductRelationDao.java b/mall-admin/src/main/java/com/macro/mall/dao/CmsPrefrenceAreaProductRelationDao.java new file mode 100644 index 0000000..de4fcc2 --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/dao/CmsPrefrenceAreaProductRelationDao.java @@ -0,0 +1,14 @@ +package com.macro.mall.dao; + +import com.macro.mall.model.CmsPrefrenceAreaProductRelation; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 自定义优选和商品关系操作 + * Created by macro on 2018/4/26. + */ +public interface CmsPrefrenceAreaProductRelationDao { + int insertList(@Param("list") List prefrenceAreaProductRelationList); +} diff --git a/mall-admin/src/main/java/com/macro/mall/dao/CmsSubjectProductRelationDao.java b/mall-admin/src/main/java/com/macro/mall/dao/CmsSubjectProductRelationDao.java new file mode 100644 index 0000000..af81512 --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/dao/CmsSubjectProductRelationDao.java @@ -0,0 +1,14 @@ +package com.macro.mall.dao; + +import com.macro.mall.model.CmsSubjectProductRelation; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 自定义商品和专题关系操作 + * Created by macro on 2018/4/26. + */ +public interface CmsSubjectProductRelationDao { + int insertList(@Param("list") List subjectProductRelationList); +} diff --git a/mall-admin/src/main/java/com/macro/mall/dao/PmsProductAttributeValueDao.java b/mall-admin/src/main/java/com/macro/mall/dao/PmsProductAttributeValueDao.java new file mode 100644 index 0000000..d4bea87 --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/dao/PmsProductAttributeValueDao.java @@ -0,0 +1,14 @@ +package com.macro.mall.dao; + +import com.macro.mall.model.PmsProductAttributeValue; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 商品参数,商品自定义规格属性Dao + * Created by macro on 2018/4/26. + */ +public interface PmsProductAttributeValueDao { + int insertList(@Param("list")List productAttributeValueList); +} diff --git a/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java b/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java index 3e5c78b..9f1290b 100644 --- a/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java +++ b/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java @@ -17,13 +17,13 @@ public class PmsProductParam { @ApiModelProperty("商品阶梯价格设置") private List productLadderList; @ApiModelProperty("商品满减价格设置") - private List pmsProductFullReductionList; + private List productFullReductionList; @ApiModelProperty("商品会员价格设置") - private List pmsMemberPriceList; + private List memberPriceList; @ApiModelProperty("商品的sku库存信息") private List skuStockList; @ApiModelProperty("商品参数及自定义规格属性") - private List pmsProductAttributeValueList; + private List productAttributeValueList; @ApiModelProperty("专题和商品关系") private List subjectProductRelationList; @ApiModelProperty("优选专区和商品的关系") @@ -45,20 +45,20 @@ public class PmsProductParam { this.productLadderList = productLadderList; } - public List getPmsProductFullReductionList() { - return pmsProductFullReductionList; + public List getProductFullReductionList() { + return productFullReductionList; } - public void setPmsProductFullReductionList(List pmsProductFullReductionList) { - this.pmsProductFullReductionList = pmsProductFullReductionList; + public void setProductFullReductionList(List productFullReductionList) { + this.productFullReductionList = productFullReductionList; } - public List getPmsMemberPriceList() { - return pmsMemberPriceList; + public List getMemberPriceList() { + return memberPriceList; } - public void setPmsMemberPriceList(List pmsMemberPriceList) { - this.pmsMemberPriceList = pmsMemberPriceList; + public void setMemberPriceList(List memberPriceList) { + this.memberPriceList = memberPriceList; } public List getSkuStockList() { @@ -69,12 +69,12 @@ public class PmsProductParam { this.skuStockList = skuStockList; } - public List getPmsProductAttributeValueList() { - return pmsProductAttributeValueList; + public List getProductAttributeValueList() { + return productAttributeValueList; } - public void setPmsProductAttributeValueList(List pmsProductAttributeValueList) { - this.pmsProductAttributeValueList = pmsProductAttributeValueList; + public void setProductAttributeValueList(List productAttributeValueList) { + this.productAttributeValueList = productAttributeValueList; } public List getSubjectProductRelationList() { diff --git a/mall-admin/src/main/java/com/macro/mall/service/PmsProductCategoryService.java b/mall-admin/src/main/java/com/macro/mall/service/PmsProductCategoryService.java index 961f934..f11d768 100644 --- a/mall-admin/src/main/java/com/macro/mall/service/PmsProductCategoryService.java +++ b/mall-admin/src/main/java/com/macro/mall/service/PmsProductCategoryService.java @@ -2,6 +2,9 @@ package com.macro.mall.service; import com.macro.mall.dto.PmsProductCategoryParam; import com.macro.mall.model.PmsProductCategory; +import org.springframework.transaction.annotation.Isolation; +import org.springframework.transaction.annotation.Propagation; +import org.springframework.transaction.annotation.Transactional; import java.util.List; diff --git a/mall-admin/src/main/java/com/macro/mall/service/PmsProductService.java b/mall-admin/src/main/java/com/macro/mall/service/PmsProductService.java index 6e33a9f..26910f9 100644 --- a/mall-admin/src/main/java/com/macro/mall/service/PmsProductService.java +++ b/mall-admin/src/main/java/com/macro/mall/service/PmsProductService.java @@ -1,6 +1,9 @@ package com.macro.mall.service; import com.macro.mall.dto.PmsProductParam; +import org.springframework.transaction.annotation.Isolation; +import org.springframework.transaction.annotation.Propagation; +import org.springframework.transaction.annotation.Transactional; /** * 商品管理Service @@ -10,5 +13,6 @@ public interface PmsProductService { /** * 创建商品 */ + @Transactional(isolation = Isolation.DEFAULT,propagation = Propagation.REQUIRED) int create(PmsProductParam productParam); } diff --git a/mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductServiceImpl.java b/mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductServiceImpl.java index e76f620..809d39b 100644 --- a/mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductServiceImpl.java +++ b/mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductServiceImpl.java @@ -1,26 +1,26 @@ package com.macro.mall.service.impl; -import com.macro.mall.dao.PmsMemberPriceDao; -import com.macro.mall.dao.PmsProductFullReductionDao; -import com.macro.mall.dao.PmsProductLadderDao; +import com.macro.mall.dao.*; import com.macro.mall.dto.PmsProductParam; import com.macro.mall.mapper.PmsProductMapper; -import com.macro.mall.model.PmsMemberPrice; -import com.macro.mall.model.PmsProduct; -import com.macro.mall.model.PmsProductFullReduction; -import com.macro.mall.model.PmsProductLadder; +import com.macro.mall.model.*; import com.macro.mall.service.PmsProductService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; +import java.lang.reflect.Method; import java.util.List; /** * 商品管理Service实现类 + * Created by macro on 2018/4/26. */ @Service public class PmsProductServiceImpl implements PmsProductService { + private static final Logger LOGGER = LoggerFactory.getLogger(PmsProductServiceImpl.class); @Autowired private PmsProductMapper productMapper; @Autowired @@ -29,6 +29,14 @@ public class PmsProductServiceImpl implements PmsProductService { private PmsProductLadderDao productLadderDao; @Autowired private PmsProductFullReductionDao productFullReductionDao; + @Autowired + private PmsSkuStockDao skuStockDao; + @Autowired + private PmsProductAttributeValueDao productAttributeValueDao; + @Autowired + private CmsSubjectProductRelationDao subjectProductRelationDao; + @Autowired + private CmsPrefrenceAreaProductRelationDao prefrenceAreaProductRelationDao; @Override public int create(PmsProductParam productParam) { @@ -40,7 +48,37 @@ public class PmsProductServiceImpl implements PmsProductService { //根据促销类型设置价格:、阶梯价格、满减价格 Long productId = product.getId(); //会员价格 - List memberPriceList = productParam.getPmsMemberPriceList(); + relateAndInsertList(memberPriceDao,productParam.getMemberPriceList(),productId); + //阶梯价格 + relateAndInsertList(productLadderDao,productParam.getProductLadderList(),productId); + //满减价格 + relateAndInsertList(productFullReductionDao, productParam.getProductFullReductionList(), productId); + //添加sku库存信息 + relateAndInsertList(skuStockDao, productParam.getSkuStockList(), productId); + //添加商品参数,添加自定义商品规格 + relateAndInsertList(productAttributeValueDao, productParam.getProductAttributeValueList(), productId); + //关联专题 + relateAndInsertList(subjectProductRelationDao, productParam.getSubjectProductRelationList(), productId); + //关联优选 + relateAndInsertList(prefrenceAreaProductRelationDao, productParam.getPrefrenceAreaProductRelationList(), productId); + count = 1; + return count; + } + + /** + * @deprecated + * 旧版创建 + */ + public int createOld(PmsProductParam productParam) { + int count; + //创建商品 + PmsProduct product = productParam.getProduct(); + product.setId(null); + productMapper.insertSelective(product); + //根据促销类型设置价格:、阶梯价格、满减价格 + Long productId = product.getId(); + //会员价格 + List memberPriceList = productParam.getMemberPriceList(); if (!CollectionUtils.isEmpty(memberPriceList)) { for (PmsMemberPrice pmsMemberPrice : memberPriceList) { pmsMemberPrice.setId(null); @@ -58,7 +96,7 @@ public class PmsProductServiceImpl implements PmsProductService { productLadderDao.insertList(productLadderList); } //满减价格 - List productFullReductionList = productParam.getPmsProductFullReductionList(); + List productFullReductionList = productParam.getProductFullReductionList(); if (!CollectionUtils.isEmpty(productFullReductionList)) { for (PmsProductFullReduction productFullReduction : productFullReductionList) { productFullReduction.setId(null); @@ -67,11 +105,52 @@ public class PmsProductServiceImpl implements PmsProductService { productFullReductionDao.insertList(productFullReductionList); } //添加sku库存信息 - //添加商品参数 - //添加自定义商品规格 + List skuStockList = productParam.getSkuStockList(); + if(!CollectionUtils.isEmpty(skuStockList)){ + for (PmsSkuStock skuStock : skuStockList) { + skuStock.setId(null); + skuStock.setProductId(productId); + } + skuStockDao.insertList(skuStockList); + } + //添加商品参数,添加自定义商品规格 + List productAttributeValueList = productParam.getProductAttributeValueList(); + if(!CollectionUtils.isEmpty(productAttributeValueList)){ + for (PmsProductAttributeValue productAttributeValue : productAttributeValueList) { + productAttributeValue.setId(null); + productAttributeValue.setProductId(productId); + } + productAttributeValueDao.insertList(productAttributeValueList); + } //关联专题 + relateAndInsertList(subjectProductRelationDao, productParam.getSubjectProductRelationList(), productId); //关联优选 + relateAndInsertList(prefrenceAreaProductRelationDao, productParam.getPrefrenceAreaProductRelationList(), productId); count = 1; return count; } + + /** + * 建立和插入关系表操作 + * + * @param dao 可以操作的dao + * @param dataList 要插入的数据 + * @param productId 建立关系的id + */ + private void relateAndInsertList(Object dao, List dataList, Long productId) { + try { + if (CollectionUtils.isEmpty(dataList)) return; + for (Object item : dataList) { + Method setId = item.getClass().getMethod("setId", Long.class); + setId.invoke(item, (Long) null); + Method setProductId = item.getClass().getMethod("setProductId", Long.class); + setProductId.invoke(item, productId); + } + Method insertList = dao.getClass().getMethod("insertList", List.class); + insertList.invoke(dao, dataList); + } catch (Exception e) { + LOGGER.warn("创建产品出错:{}",e.getMessage()); + throw new RuntimeException(e.getMessage()); + } + } } diff --git a/mall-admin/src/main/resources/dao/CmsPrefrenceAreaProductRelationDao.xml b/mall-admin/src/main/resources/dao/CmsPrefrenceAreaProductRelationDao.xml new file mode 100644 index 0000000..9d21467 --- /dev/null +++ b/mall-admin/src/main/resources/dao/CmsPrefrenceAreaProductRelationDao.xml @@ -0,0 +1,11 @@ + + + + + insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) values + + (#{item.prefrenceAreaId,jdbcType=BIGINT}, + #{item.productId,jdbcType=BIGINT}) + + + \ No newline at end of file diff --git a/mall-admin/src/main/resources/dao/CmsSubjectProductRelationDao.xml b/mall-admin/src/main/resources/dao/CmsSubjectProductRelationDao.xml new file mode 100644 index 0000000..653c767 --- /dev/null +++ b/mall-admin/src/main/resources/dao/CmsSubjectProductRelationDao.xml @@ -0,0 +1,11 @@ + + + + + insert into cms_subject_product_relation (subject_id, product_id) values + + (#{item.subjectId,jdbcType=BIGINT}, + #{item.productId,jdbcType=BIGINT}) + + + \ No newline at end of file diff --git a/mall-admin/src/main/resources/dao/PmsProductAttributeValueDao.xml b/mall-admin/src/main/resources/dao/PmsProductAttributeValueDao.xml new file mode 100644 index 0000000..75236d4 --- /dev/null +++ b/mall-admin/src/main/resources/dao/PmsProductAttributeValueDao.xml @@ -0,0 +1,12 @@ + + + + + insert into pms_product_attribute_value (product_id,product_attribute_id,value) values + + (#{item.productId,jdbcType=BIGINT}, + #{item.productAttributeId,jdbcType=BIGINT}, + #{item.value,jdbcType=VARCHAR}) + + + \ No newline at end of file diff --git a/mall-admin/src/main/resources/dao/PmsProductFullReductionDao.xml b/mall-admin/src/main/resources/dao/PmsProductFullReductionDao.xml index 2fa63fd..38fea50 100644 --- a/mall-admin/src/main/resources/dao/PmsProductFullReductionDao.xml +++ b/mall-admin/src/main/resources/dao/PmsProductFullReductionDao.xml @@ -1,6 +1,6 @@ - + INSERT INTO pms_product_full_reduction (product_id, full_price, reduce_price) VALUES diff --git a/mall-admin/src/main/resources/dao/PmsSkuStockDao.xml b/mall-admin/src/main/resources/dao/PmsSkuStockDao.xml new file mode 100644 index 0000000..65583b9 --- /dev/null +++ b/mall-admin/src/main/resources/dao/PmsSkuStockDao.xml @@ -0,0 +1,19 @@ + + + + + INSERT INTO pms_sku_stock (product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale) VALUES + + (#{item.productId,jdbcType=BIGINT}, + #{item.skuCode,jdbcType=VARCHAR}, + #{item.price,jdbcType=DECIMAL}, + #{item.stock,jdbcType=INTEGER}, + #{item.lowStock,jdbcType=INTEGER}, + #{item.sp1,jdbcType=VARCHAR}, + #{item.sp2,jdbcType=VARCHAR}, + #{item.sp3,jdbcType=VARCHAR}, + #{item.pic,jdbcType=VARCHAR}, + #{item.sale,jdbcType=INTEGER}) + + + \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java index 6f3b8d5..596ed82 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java @@ -10,7 +10,7 @@ public interface PmsProductFullReductionMapper { int deleteByExample(PmsProductFullReductionExample example); - int deleteByPrimaryKey(Integer id); + int deleteByPrimaryKey(Long id); int insert(PmsProductFullReduction record); @@ -18,7 +18,7 @@ public interface PmsProductFullReductionMapper { List selectByExample(PmsProductFullReductionExample example); - PmsProductFullReduction selectByPrimaryKey(Integer id); + PmsProductFullReduction selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java index a0c6344..a3f4515 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java @@ -5,9 +5,9 @@ import java.io.Serializable; public class PmsProductAttributeValue implements Serializable { private Long id; - private Long pmsProductId; + private Long productId; - private Long pmsProductAttributeId; + private Long productAttributeId; /** * 存储的值 @@ -26,20 +26,20 @@ public class PmsProductAttributeValue implements Serializable { this.id = id; } - public Long getPmsProductId() { - return pmsProductId; + public Long getProductId() { + return productId; } - public void setPmsProductId(Long pmsProductId) { - this.pmsProductId = pmsProductId; + public void setProductId(Long productId) { + this.productId = productId; } - public Long getPmsProductAttributeId() { - return pmsProductAttributeId; + public Long getProductAttributeId() { + return productAttributeId; } - public void setPmsProductAttributeId(Long pmsProductAttributeId) { - this.pmsProductAttributeId = pmsProductAttributeId; + public void setProductAttributeId(Long productAttributeId) { + this.productAttributeId = productAttributeId; } public String getValue() { @@ -57,8 +57,8 @@ public class PmsProductAttributeValue implements Serializable { sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", id=").append(id); - sb.append(", pmsProductId=").append(pmsProductId); - sb.append(", pmsProductAttributeId=").append(pmsProductAttributeId); + sb.append(", productId=").append(productId); + sb.append(", productAttributeId=").append(productAttributeId); sb.append(", value=").append(value); sb.append(", serialVersionUID=").append(serialVersionUID); sb.append("]"); diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java index 627a816..298d942 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java @@ -164,123 +164,123 @@ public class PmsProductAttributeValueExample { return (Criteria) this; } - public Criteria andPmsProductIdIsNull() { - addCriterion("pms_product_id is null"); + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); return (Criteria) this; } - public Criteria andPmsProductIdIsNotNull() { - addCriterion("pms_product_id is not null"); + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); return (Criteria) this; } - public Criteria andPmsProductIdEqualTo(Long value) { - addCriterion("pms_product_id =", value, "pmsProductId"); + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdNotEqualTo(Long value) { - addCriterion("pms_product_id <>", value, "pmsProductId"); + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdGreaterThan(Long value) { - addCriterion("pms_product_id >", value, "pmsProductId"); + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("pms_product_id >=", value, "pmsProductId"); + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdLessThan(Long value) { - addCriterion("pms_product_id <", value, "pmsProductId"); + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdLessThanOrEqualTo(Long value) { - addCriterion("pms_product_id <=", value, "pmsProductId"); + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdIn(List values) { - addCriterion("pms_product_id in", values, "pmsProductId"); + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdNotIn(List values) { - addCriterion("pms_product_id not in", values, "pmsProductId"); + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdBetween(Long value1, Long value2) { - addCriterion("pms_product_id between", value1, value2, "pmsProductId"); + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); return (Criteria) this; } - public Criteria andPmsProductIdNotBetween(Long value1, Long value2) { - addCriterion("pms_product_id not between", value1, value2, "pmsProductId"); + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdIsNull() { - addCriterion("pms_product_attribute_id is null"); + public Criteria andProductAttributeIdIsNull() { + addCriterion("product_attribute_id is null"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdIsNotNull() { - addCriterion("pms_product_attribute_id is not null"); + public Criteria andProductAttributeIdIsNotNull() { + addCriterion("product_attribute_id is not null"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdEqualTo(Long value) { - addCriterion("pms_product_attribute_id =", value, "pmsProductAttributeId"); + public Criteria andProductAttributeIdEqualTo(Long value) { + addCriterion("product_attribute_id =", value, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdNotEqualTo(Long value) { - addCriterion("pms_product_attribute_id <>", value, "pmsProductAttributeId"); + public Criteria andProductAttributeIdNotEqualTo(Long value) { + addCriterion("product_attribute_id <>", value, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdGreaterThan(Long value) { - addCriterion("pms_product_attribute_id >", value, "pmsProductAttributeId"); + public Criteria andProductAttributeIdGreaterThan(Long value) { + addCriterion("product_attribute_id >", value, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdGreaterThanOrEqualTo(Long value) { - addCriterion("pms_product_attribute_id >=", value, "pmsProductAttributeId"); + public Criteria andProductAttributeIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_attribute_id >=", value, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdLessThan(Long value) { - addCriterion("pms_product_attribute_id <", value, "pmsProductAttributeId"); + public Criteria andProductAttributeIdLessThan(Long value) { + addCriterion("product_attribute_id <", value, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdLessThanOrEqualTo(Long value) { - addCriterion("pms_product_attribute_id <=", value, "pmsProductAttributeId"); + public Criteria andProductAttributeIdLessThanOrEqualTo(Long value) { + addCriterion("product_attribute_id <=", value, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdIn(List values) { - addCriterion("pms_product_attribute_id in", values, "pmsProductAttributeId"); + public Criteria andProductAttributeIdIn(List values) { + addCriterion("product_attribute_id in", values, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdNotIn(List values) { - addCriterion("pms_product_attribute_id not in", values, "pmsProductAttributeId"); + public Criteria andProductAttributeIdNotIn(List values) { + addCriterion("product_attribute_id not in", values, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdBetween(Long value1, Long value2) { - addCriterion("pms_product_attribute_id between", value1, value2, "pmsProductAttributeId"); + public Criteria andProductAttributeIdBetween(Long value1, Long value2) { + addCriterion("product_attribute_id between", value1, value2, "productAttributeId"); return (Criteria) this; } - public Criteria andPmsProductAttributeIdNotBetween(Long value1, Long value2) { - addCriterion("pms_product_attribute_id not between", value1, value2, "pmsProductAttributeId"); + public Criteria andProductAttributeIdNotBetween(Long value1, Long value2) { + addCriterion("product_attribute_id not between", value1, value2, "productAttributeId"); return (Criteria) this; } diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java index 71285c7..d1fc4cc 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java @@ -4,7 +4,7 @@ import java.io.Serializable; import java.math.BigDecimal; public class PmsProductFullReduction implements Serializable { - private Integer id; + private Long id; private Long productId; @@ -14,11 +14,11 @@ public class PmsProductFullReduction implements Serializable { private static final long serialVersionUID = 1L; - public Integer getId() { + public Long getId() { return id; } - public void setId(Integer id) { + public void setId(Long id) { this.id = id; } diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java index 86ede8d..658bfc9 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java @@ -115,52 +115,52 @@ public class PmsProductFullReductionExample { return (Criteria) this; } - public Criteria andIdEqualTo(Integer value) { + public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } - public Criteria andIdNotEqualTo(Integer value) { + public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } - public Criteria andIdGreaterThan(Integer value) { + public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } - public Criteria andIdGreaterThanOrEqualTo(Integer value) { + public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } - public Criteria andIdLessThan(Integer value) { + public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } - public Criteria andIdLessThanOrEqualTo(Integer value) { + public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } - public Criteria andIdIn(List values) { + public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } - public Criteria andIdNotIn(List values) { + public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } - public Criteria andIdBetween(Integer value1, Integer value2) { + public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } - public Criteria andIdNotBetween(Integer value1, Integer value2) { + public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml index 30a27f1..cf3fdf5 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml @@ -223,448 +223,4 @@ sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, help_count, show_status, sort - - - - - delete from cms_help_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_help_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_help_category (name, icon, help_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_help_category - - - name, - - - icon, - - - help_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{helpCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_help_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - help_count = #{record.helpCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_help_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - help_count = #{record.helpCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_help_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - help_count = #{helpCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_help_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - help_count = #{helpCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, help_count, show_status, sort - - - - - delete from cms_help_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_help_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_help_category (name, icon, help_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_help_category - - - name, - - - icon, - - - help_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{helpCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_help_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - help_count = #{record.helpCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_help_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - help_count = #{record.helpCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_help_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - help_count = #{helpCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_help_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - help_count = #{helpCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml index 21e18a3..233d297 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml @@ -301,604 +301,4 @@ read_count = #{readCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, icon, title, show_status, create_time, read_count - - - content - - - - - - delete from cms_help - where id = #{id,jdbcType=BIGINT} - - - delete from cms_help - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_help (category_id, icon, title, - show_status, create_time, read_count, - content) - values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, - #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, - #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_help - - - category_id, - - - icon, - - - title, - - - show_status, - - - create_time, - - - read_count, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{icon,jdbcType=VARCHAR}, - - - #{title,jdbcType=VARCHAR}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{readCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_help - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_help - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - icon = #{record.icon,jdbcType=VARCHAR}, - title = #{record.title,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - read_count = #{record.readCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_help - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - icon = #{record.icon,jdbcType=VARCHAR}, - title = #{record.title,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - read_count = #{record.readCount,jdbcType=INTEGER} - - - - - - update cms_help - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - title = #{title,jdbcType=VARCHAR}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_help - set category_id = #{categoryId,jdbcType=BIGINT}, - icon = #{icon,jdbcType=VARCHAR}, - title = #{title,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - read_count = #{readCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_help - set category_id = #{categoryId,jdbcType=BIGINT}, - icon = #{icon,jdbcType=VARCHAR}, - title = #{title,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - read_count = #{readCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, icon, title, show_status, create_time, read_count - - - content - - - - - - delete from cms_help - where id = #{id,jdbcType=BIGINT} - - - delete from cms_help - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_help (category_id, icon, title, - show_status, create_time, read_count, - content) - values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, - #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, - #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_help - - - category_id, - - - icon, - - - title, - - - show_status, - - - create_time, - - - read_count, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{icon,jdbcType=VARCHAR}, - - - #{title,jdbcType=VARCHAR}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{readCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_help - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_help - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - icon = #{record.icon,jdbcType=VARCHAR}, - title = #{record.title,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - read_count = #{record.readCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_help - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - icon = #{record.icon,jdbcType=VARCHAR}, - title = #{record.title,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - read_count = #{record.readCount,jdbcType=INTEGER} - - - - - - update cms_help - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - title = #{title,jdbcType=VARCHAR}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_help - set category_id = #{categoryId,jdbcType=BIGINT}, - icon = #{icon,jdbcType=VARCHAR}, - title = #{title,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - read_count = #{readCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_help - set category_id = #{categoryId,jdbcType=BIGINT}, - icon = #{icon,jdbcType=VARCHAR}, - title = #{title,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - read_count = #{readCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml index 4281b2e..aaa20f8 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml @@ -208,418 +208,4 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, report_type, report_member_name, create_time, report_object, report_status, handle_status, - note - - - - delete from cms_member_report - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report (report_type, report_member_name, create_time, - report_object, report_status, handle_status, - note) - values (#{reportType,jdbcType=INTEGER}, #{reportMemberName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{reportObject,jdbcType=VARCHAR}, #{reportStatus,jdbcType=INTEGER}, #{handleStatus,jdbcType=INTEGER}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report - - - report_type, - - - report_member_name, - - - create_time, - - - report_object, - - - report_status, - - - handle_status, - - - note, - - - - - #{reportType,jdbcType=INTEGER}, - - - #{reportMemberName,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{reportObject,jdbcType=VARCHAR}, - - - #{reportStatus,jdbcType=INTEGER}, - - - #{handleStatus,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update cms_member_report - - - id = #{record.id,jdbcType=BIGINT}, - - - report_type = #{record.reportType,jdbcType=INTEGER}, - - - report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - report_object = #{record.reportObject,jdbcType=VARCHAR}, - - - report_status = #{record.reportStatus,jdbcType=INTEGER}, - - - handle_status = #{record.handleStatus,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update cms_member_report - set id = #{record.id,jdbcType=BIGINT}, - report_type = #{record.reportType,jdbcType=INTEGER}, - report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - report_object = #{record.reportObject,jdbcType=VARCHAR}, - report_status = #{record.reportStatus,jdbcType=INTEGER}, - handle_status = #{record.handleStatus,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, report_type, report_member_name, create_time, report_object, report_status, handle_status, - note - - - - delete from cms_member_report - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report (report_type, report_member_name, create_time, - report_object, report_status, handle_status, - note) - values (#{reportType,jdbcType=INTEGER}, #{reportMemberName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{reportObject,jdbcType=VARCHAR}, #{reportStatus,jdbcType=INTEGER}, #{handleStatus,jdbcType=INTEGER}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report - - - report_type, - - - report_member_name, - - - create_time, - - - report_object, - - - report_status, - - - handle_status, - - - note, - - - - - #{reportType,jdbcType=INTEGER}, - - - #{reportMemberName,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{reportObject,jdbcType=VARCHAR}, - - - #{reportStatus,jdbcType=INTEGER}, - - - #{handleStatus,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update cms_member_report - - - id = #{record.id,jdbcType=BIGINT}, - - - report_type = #{record.reportType,jdbcType=INTEGER}, - - - report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - report_object = #{record.reportObject,jdbcType=VARCHAR}, - - - report_status = #{record.reportStatus,jdbcType=INTEGER}, - - - handle_status = #{record.handleStatus,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update cms_member_report - set id = #{record.id,jdbcType=BIGINT}, - report_type = #{record.reportType,jdbcType=INTEGER}, - report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - report_object = #{record.reportObject,jdbcType=VARCHAR}, - report_status = #{record.reportStatus,jdbcType=INTEGER}, - handle_status = #{record.handleStatus,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml index 6e61ea0..09bee43 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml @@ -265,532 +265,4 @@ show_status = #{showStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, sub_title, sort, show_status - - - pic - - - - - - delete from cms_prefrence_area - where id = #{id,jdbcType=BIGINT} - - - delete from cms_prefrence_area - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area (name, sub_title, sort, - show_status, pic) - values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area - - - name, - - - sub_title, - - - sort, - - - show_status, - - - pic, - - - - - #{name,jdbcType=VARCHAR}, - - - #{subTitle,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARBINARY}, - - - - - - update cms_prefrence_area - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - pic = #{record.pic,jdbcType=VARBINARY}, - - - - - - - - update cms_prefrence_area - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - pic = #{record.pic,jdbcType=VARBINARY} - - - - - - update cms_prefrence_area - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_prefrence_area - - - name = #{name,jdbcType=VARCHAR}, - - - sub_title = #{subTitle,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - pic = #{pic,jdbcType=VARBINARY}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area - set name = #{name,jdbcType=VARCHAR}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - pic = #{pic,jdbcType=VARBINARY} - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area - set name = #{name,jdbcType=VARCHAR}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, sub_title, sort, show_status - - - pic - - - - - - delete from cms_prefrence_area - where id = #{id,jdbcType=BIGINT} - - - delete from cms_prefrence_area - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area (name, sub_title, sort, - show_status, pic) - values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area - - - name, - - - sub_title, - - - sort, - - - show_status, - - - pic, - - - - - #{name,jdbcType=VARCHAR}, - - - #{subTitle,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARBINARY}, - - - - - - update cms_prefrence_area - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - pic = #{record.pic,jdbcType=VARBINARY}, - - - - - - - - update cms_prefrence_area - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - pic = #{record.pic,jdbcType=VARBINARY} - - - - - - update cms_prefrence_area - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_prefrence_area - - - name = #{name,jdbcType=VARCHAR}, - - - sub_title = #{subTitle,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - pic = #{pic,jdbcType=VARBINARY}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area - set name = #{name,jdbcType=VARCHAR}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - pic = #{pic,jdbcType=VARBINARY} - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area - set name = #{name,jdbcType=VARCHAR}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml index 7fc2dfd..8daaedc 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml @@ -176,354 +176,4 @@ product_id = #{productId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, prefrence_area_id, product_id - - - - - delete from cms_prefrence_area_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from cms_prefrence_area_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) - values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area_product_relation - - - prefrence_area_id, - - - product_id, - - - - - #{prefrenceAreaId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update cms_prefrence_area_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update cms_prefrence_area_product_relation - set id = #{record.id,jdbcType=BIGINT}, - prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update cms_prefrence_area_product_relation - - - prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area_product_relation - set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, prefrence_area_id, product_id - - - - - delete from cms_prefrence_area_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from cms_prefrence_area_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) - values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area_product_relation - - - prefrence_area_id, - - - product_id, - - - - - #{prefrenceAreaId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update cms_prefrence_area_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update cms_prefrence_area_product_relation - set id = #{record.id,jdbcType=BIGINT}, - prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update cms_prefrence_area_product_relation - - - prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area_product_relation - set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml index c9cbc76..24c0612 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml @@ -223,448 +223,4 @@ sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, subject_count, show_status, sort - - - - - delete from cms_subject_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_category (name, icon, subject_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_category - - - name, - - - icon, - - - subject_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{subjectCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_subject_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_subject_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_subject_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - subject_count = #{subjectCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - subject_count = #{subjectCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, subject_count, show_status, sort - - - - - delete from cms_subject_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_category (name, icon, subject_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_category - - - name, - - - icon, - - - subject_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{subjectCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_subject_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_subject_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_subject_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - subject_count = #{subjectCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - subject_count = #{subjectCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml index 837ac40..9ee1fe8 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml @@ -240,482 +240,4 @@ show_status = #{showStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, member_nick_name, member_icon, content, create_time, show_status - - - - - delete from cms_subject_comment - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_comment (subject_id, member_nick_name, member_icon, - content, create_time, show_status - ) - values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_comment - - - subject_id, - - - member_nick_name, - - - member_icon, - - - content, - - - create_time, - - - show_status, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - - - - update cms_subject_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_subject_comment - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_subject_comment - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_comment - set subject_id = #{subjectId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, member_nick_name, member_icon, content, create_time, show_status - - - - - delete from cms_subject_comment - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_comment (subject_id, member_nick_name, member_icon, - content, create_time, show_status - ) - values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_comment - - - subject_id, - - - member_nick_name, - - - member_icon, - - - content, - - - create_time, - - - show_status, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - - - - update cms_subject_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_subject_comment - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_subject_comment - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_comment - set subject_id = #{subjectId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml index 16da543..50cde98 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml @@ -425,852 +425,4 @@ forward_count = #{forwardCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, - read_count, comment_count, album_pics, description, show_status, forward_count - - - content - - - - - - delete from cms_subject - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject (category_id, title, pic, - product_count, recommend_status, create_time, - collect_count, read_count, comment_count, - album_pics, description, show_status, - forward_count, content) - values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, - #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, - #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, - #{forwardCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject - - - category_id, - - - title, - - - pic, - - - product_count, - - - recommend_status, - - - create_time, - - - collect_count, - - - read_count, - - - comment_count, - - - album_pics, - - - description, - - - show_status, - - - forward_count, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{title,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{productCount,jdbcType=INTEGER}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{collectCount,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{commentCount,jdbcType=INTEGER}, - - - #{albumPics,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{forwardCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_subject - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - collect_count = #{record.collectCount,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - comment_count = #{record.commentCount,jdbcType=INTEGER}, - - - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - forward_count = #{record.forwardCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_subject - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - title = #{record.title,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - collect_count = #{record.collectCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - forward_count = #{record.forwardCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_subject - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - title = #{record.title,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - collect_count = #{record.collectCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - forward_count = #{record.forwardCount,jdbcType=INTEGER} - - - - - - update cms_subject - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - title = #{title,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - collect_count = #{collectCount,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - comment_count = #{commentCount,jdbcType=INTEGER}, - - - album_pics = #{albumPics,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - forward_count = #{forwardCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject - set category_id = #{categoryId,jdbcType=BIGINT}, - title = #{title,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - collect_count = #{collectCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - forward_count = #{forwardCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_subject - set category_id = #{categoryId,jdbcType=BIGINT}, - title = #{title,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - collect_count = #{collectCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - forward_count = #{forwardCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, - read_count, comment_count, album_pics, description, show_status, forward_count - - - content - - - - - - delete from cms_subject - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject (category_id, title, pic, - product_count, recommend_status, create_time, - collect_count, read_count, comment_count, - album_pics, description, show_status, - forward_count, content) - values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, - #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, - #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, - #{forwardCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject - - - category_id, - - - title, - - - pic, - - - product_count, - - - recommend_status, - - - create_time, - - - collect_count, - - - read_count, - - - comment_count, - - - album_pics, - - - description, - - - show_status, - - - forward_count, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{title,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{productCount,jdbcType=INTEGER}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{collectCount,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{commentCount,jdbcType=INTEGER}, - - - #{albumPics,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{forwardCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_subject - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - collect_count = #{record.collectCount,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - comment_count = #{record.commentCount,jdbcType=INTEGER}, - - - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - forward_count = #{record.forwardCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_subject - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - title = #{record.title,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - collect_count = #{record.collectCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - forward_count = #{record.forwardCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_subject - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - title = #{record.title,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - collect_count = #{record.collectCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - forward_count = #{record.forwardCount,jdbcType=INTEGER} - - - - - - update cms_subject - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - title = #{title,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - collect_count = #{collectCount,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - comment_count = #{commentCount,jdbcType=INTEGER}, - - - album_pics = #{albumPics,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - forward_count = #{forwardCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject - set category_id = #{categoryId,jdbcType=BIGINT}, - title = #{title,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - collect_count = #{collectCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - forward_count = #{forwardCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_subject - set category_id = #{categoryId,jdbcType=BIGINT}, - title = #{title,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - collect_count = #{collectCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - forward_count = #{forwardCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml index 20b1f33..3ea1afe 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml @@ -176,354 +176,4 @@ product_id = #{productId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, product_id - - - - - delete from cms_subject_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_product_relation (subject_id, product_id) - values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_product_relation - - - subject_id, - - - product_id, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update cms_subject_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update cms_subject_product_relation - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update cms_subject_product_relation - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_product_relation - set subject_id = #{subjectId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, product_id - - - - - delete from cms_subject_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_product_relation (subject_id, product_id) - values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_product_relation - - - subject_id, - - - product_id, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update cms_subject_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update cms_subject_product_relation - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update cms_subject_product_relation - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_product_relation - set subject_id = #{subjectId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml index 0fc43c3..89864a4 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml @@ -223,448 +223,4 @@ sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, subject_count, show_status, sort - - - - - delete from cms_topic_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_category (name, icon, subject_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_category - - - name, - - - icon, - - - subject_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{subjectCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_topic_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_topic_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_topic_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - subject_count = #{subjectCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - subject_count = #{subjectCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, subject_count, show_status, sort - - - - - delete from cms_topic_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_category (name, icon, subject_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_category - - - name, - - - icon, - - - subject_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{subjectCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_topic_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_topic_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_topic_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - subject_count = #{subjectCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - subject_count = #{subjectCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml index ccb9e46..b8f6561 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml @@ -240,482 +240,4 @@ show_status = #{showStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_nick_name, topic_id, member_icon, content, create_time, show_status - - - - - delete from cms_topic_comment - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_comment (member_nick_name, topic_id, member_icon, - content, create_time, show_status - ) - values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_comment - - - member_nick_name, - - - topic_id, - - - member_icon, - - - content, - - - create_time, - - - show_status, - - - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{topicId,jdbcType=BIGINT}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - - - - update cms_topic_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - topic_id = #{record.topicId,jdbcType=BIGINT}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_topic_comment - set id = #{record.id,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - topic_id = #{record.topicId,jdbcType=BIGINT}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_topic_comment - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - topic_id = #{topicId,jdbcType=BIGINT}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic_comment - set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - topic_id = #{topicId,jdbcType=BIGINT}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_nick_name, topic_id, member_icon, content, create_time, show_status - - - - - delete from cms_topic_comment - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_comment (member_nick_name, topic_id, member_icon, - content, create_time, show_status - ) - values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_comment - - - member_nick_name, - - - topic_id, - - - member_icon, - - - content, - - - create_time, - - - show_status, - - - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{topicId,jdbcType=BIGINT}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - - - - update cms_topic_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - topic_id = #{record.topicId,jdbcType=BIGINT}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_topic_comment - set id = #{record.id,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - topic_id = #{record.topicId,jdbcType=BIGINT}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_topic_comment - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - topic_id = #{topicId,jdbcType=BIGINT}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic_comment - set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - topic_id = #{topicId,jdbcType=BIGINT}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml index cd32f90..c1a1039 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml @@ -372,746 +372,4 @@ attend_type = #{attendType,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, name, create_time, start_time, end_time, attend_count, attention_count, - read_count, award_name, attend_type - - - content - - - - - - delete from cms_topic - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic (category_id, name, create_time, - start_time, end_time, attend_count, - attention_count, read_count, award_name, - attend_type, content) - values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, - #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, - #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic - - - category_id, - - - name, - - - create_time, - - - start_time, - - - end_time, - - - attend_count, - - - attention_count, - - - read_count, - - - award_name, - - - attend_type, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{attendCount,jdbcType=INTEGER}, - - - #{attentionCount,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{awardName,jdbcType=VARCHAR}, - - - #{attendType,jdbcType=VARCHAR}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_topic - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - attend_count = #{record.attendCount,jdbcType=INTEGER}, - - - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - award_name = #{record.awardName,jdbcType=VARCHAR}, - - - attend_type = #{record.attendType,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_topic - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - award_name = #{record.awardName,jdbcType=VARCHAR}, - attend_type = #{record.attendType,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_topic - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - award_name = #{record.awardName,jdbcType=VARCHAR}, - attend_type = #{record.attendType,jdbcType=VARCHAR} - - - - - - update cms_topic - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - attend_count = #{attendCount,jdbcType=INTEGER}, - - - attention_count = #{attentionCount,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - award_name = #{awardName,jdbcType=VARCHAR}, - - - attend_type = #{attendType,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic - set category_id = #{categoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - attend_count = #{attendCount,jdbcType=INTEGER}, - attention_count = #{attentionCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - award_name = #{awardName,jdbcType=VARCHAR}, - attend_type = #{attendType,jdbcType=VARCHAR}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_topic - set category_id = #{categoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - attend_count = #{attendCount,jdbcType=INTEGER}, - attention_count = #{attentionCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - award_name = #{awardName,jdbcType=VARCHAR}, - attend_type = #{attendType,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, name, create_time, start_time, end_time, attend_count, attention_count, - read_count, award_name, attend_type - - - content - - - - - - delete from cms_topic - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic (category_id, name, create_time, - start_time, end_time, attend_count, - attention_count, read_count, award_name, - attend_type, content) - values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, - #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, - #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic - - - category_id, - - - name, - - - create_time, - - - start_time, - - - end_time, - - - attend_count, - - - attention_count, - - - read_count, - - - award_name, - - - attend_type, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{attendCount,jdbcType=INTEGER}, - - - #{attentionCount,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{awardName,jdbcType=VARCHAR}, - - - #{attendType,jdbcType=VARCHAR}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_topic - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - attend_count = #{record.attendCount,jdbcType=INTEGER}, - - - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - award_name = #{record.awardName,jdbcType=VARCHAR}, - - - attend_type = #{record.attendType,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_topic - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - award_name = #{record.awardName,jdbcType=VARCHAR}, - attend_type = #{record.attendType,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_topic - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - award_name = #{record.awardName,jdbcType=VARCHAR}, - attend_type = #{record.attendType,jdbcType=VARCHAR} - - - - - - update cms_topic - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - attend_count = #{attendCount,jdbcType=INTEGER}, - - - attention_count = #{attentionCount,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - award_name = #{awardName,jdbcType=VARCHAR}, - - - attend_type = #{attendType,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic - set category_id = #{categoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - attend_count = #{attendCount,jdbcType=INTEGER}, - attention_count = #{attentionCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - award_name = #{awardName,jdbcType=VARCHAR}, - attend_type = #{attendType,jdbcType=VARCHAR}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_topic - set category_id = #{categoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - attend_count = #{attendCount,jdbcType=INTEGER}, - attention_count = #{attentionCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - award_name = #{awardName,jdbcType=VARCHAR}, - attend_type = #{attendType,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml index ddafacb..cf36e32 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml @@ -270,542 +270,4 @@ region = #{region,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, address_name, send_status, receive_status, name, phone, province, city, region - - - - - delete from oms_company_address - where id = #{id,jdbcType=BIGINT} - - - delete from oms_company_address - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_company_address (address_name, send_status, receive_status, - name, phone, province, - city, region) - values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, - #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, - #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_company_address - - - address_name, - - - send_status, - - - receive_status, - - - name, - - - phone, - - - province, - - - city, - - - region, - - - - - #{addressName,jdbcType=VARCHAR}, - - - #{sendStatus,jdbcType=INTEGER}, - - - #{receiveStatus,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{phone,jdbcType=VARCHAR}, - - - #{province,jdbcType=VARCHAR}, - - - #{city,jdbcType=VARCHAR}, - - - #{region,jdbcType=VARCHAR}, - - - - - - update oms_company_address - - - id = #{record.id,jdbcType=BIGINT}, - - - address_name = #{record.addressName,jdbcType=VARCHAR}, - - - send_status = #{record.sendStatus,jdbcType=INTEGER}, - - - receive_status = #{record.receiveStatus,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - phone = #{record.phone,jdbcType=VARCHAR}, - - - province = #{record.province,jdbcType=VARCHAR}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - region = #{record.region,jdbcType=VARCHAR}, - - - - - - - - update oms_company_address - set id = #{record.id,jdbcType=BIGINT}, - address_name = #{record.addressName,jdbcType=VARCHAR}, - send_status = #{record.sendStatus,jdbcType=INTEGER}, - receive_status = #{record.receiveStatus,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - phone = #{record.phone,jdbcType=VARCHAR}, - province = #{record.province,jdbcType=VARCHAR}, - city = #{record.city,jdbcType=VARCHAR}, - region = #{record.region,jdbcType=VARCHAR} - - - - - - update oms_company_address - - - address_name = #{addressName,jdbcType=VARCHAR}, - - - send_status = #{sendStatus,jdbcType=INTEGER}, - - - receive_status = #{receiveStatus,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - phone = #{phone,jdbcType=VARCHAR}, - - - province = #{province,jdbcType=VARCHAR}, - - - city = #{city,jdbcType=VARCHAR}, - - - region = #{region,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_company_address - set address_name = #{addressName,jdbcType=VARCHAR}, - send_status = #{sendStatus,jdbcType=INTEGER}, - receive_status = #{receiveStatus,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - phone = #{phone,jdbcType=VARCHAR}, - province = #{province,jdbcType=VARCHAR}, - city = #{city,jdbcType=VARCHAR}, - region = #{region,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, address_name, send_status, receive_status, name, phone, province, city, region - - - - - delete from oms_company_address - where id = #{id,jdbcType=BIGINT} - - - delete from oms_company_address - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_company_address (address_name, send_status, receive_status, - name, phone, province, - city, region) - values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, - #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, - #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_company_address - - - address_name, - - - send_status, - - - receive_status, - - - name, - - - phone, - - - province, - - - city, - - - region, - - - - - #{addressName,jdbcType=VARCHAR}, - - - #{sendStatus,jdbcType=INTEGER}, - - - #{receiveStatus,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{phone,jdbcType=VARCHAR}, - - - #{province,jdbcType=VARCHAR}, - - - #{city,jdbcType=VARCHAR}, - - - #{region,jdbcType=VARCHAR}, - - - - - - update oms_company_address - - - id = #{record.id,jdbcType=BIGINT}, - - - address_name = #{record.addressName,jdbcType=VARCHAR}, - - - send_status = #{record.sendStatus,jdbcType=INTEGER}, - - - receive_status = #{record.receiveStatus,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - phone = #{record.phone,jdbcType=VARCHAR}, - - - province = #{record.province,jdbcType=VARCHAR}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - region = #{record.region,jdbcType=VARCHAR}, - - - - - - - - update oms_company_address - set id = #{record.id,jdbcType=BIGINT}, - address_name = #{record.addressName,jdbcType=VARCHAR}, - send_status = #{record.sendStatus,jdbcType=INTEGER}, - receive_status = #{record.receiveStatus,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - phone = #{record.phone,jdbcType=VARCHAR}, - province = #{record.province,jdbcType=VARCHAR}, - city = #{record.city,jdbcType=VARCHAR}, - region = #{record.region,jdbcType=VARCHAR} - - - - - - update oms_company_address - - - address_name = #{addressName,jdbcType=VARCHAR}, - - - send_status = #{sendStatus,jdbcType=INTEGER}, - - - receive_status = #{receiveStatus,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - phone = #{phone,jdbcType=VARCHAR}, - - - province = #{province,jdbcType=VARCHAR}, - - - city = #{city,jdbcType=VARCHAR}, - - - region = #{region,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_company_address - set address_name = #{addressName,jdbcType=VARCHAR}, - send_status = #{sendStatus,jdbcType=INTEGER}, - receive_status = #{receiveStatus,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - phone = #{phone,jdbcType=VARCHAR}, - province = #{province,jdbcType=VARCHAR}, - city = #{city,jdbcType=VARCHAR}, - region = #{region,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml index ca3ae51..fa834e4 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml @@ -350,702 +350,4 @@ sp3 = #{sp3,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, order_sn, product_id, proudct_pic, product_name, product_brand, product_sn, - product_amount, product_count, product_real_amount, sp1, sp2, sp3 - - - - - delete from oms_order_item - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_item - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_item (order_id, order_sn, product_id, - proudct_pic, product_name, product_brand, - product_sn, product_amount, product_count, - product_real_amount, sp1, sp2, - sp3) - values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT}, - #{proudctPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, - #{productSn,jdbcType=VARCHAR}, #{productAmount,jdbcType=DECIMAL}, #{productCount,jdbcType=INTEGER}, - #{productRealAmount,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR}, - #{sp3,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_item - - - order_id, - - - order_sn, - - - product_id, - - - proudct_pic, - - - product_name, - - - product_brand, - - - product_sn, - - - product_amount, - - - product_count, - - - product_real_amount, - - - sp1, - - - sp2, - - - sp3, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{productId,jdbcType=BIGINT}, - - - #{proudctPic,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{productBrand,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - #{productAmount,jdbcType=DECIMAL}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productRealAmount,jdbcType=DECIMAL}, - - - #{sp1,jdbcType=VARCHAR}, - - - #{sp2,jdbcType=VARCHAR}, - - - #{sp3,jdbcType=VARCHAR}, - - - - - - update oms_order_item - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - proudct_pic = #{record.proudctPic,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - product_amount = #{record.productAmount,jdbcType=DECIMAL}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL}, - - - sp1 = #{record.sp1,jdbcType=VARCHAR}, - - - sp2 = #{record.sp2,jdbcType=VARCHAR}, - - - sp3 = #{record.sp3,jdbcType=VARCHAR}, - - - - - - - - update oms_order_item - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - product_id = #{record.productId,jdbcType=BIGINT}, - proudct_pic = #{record.proudctPic,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - product_amount = #{record.productAmount,jdbcType=DECIMAL}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL}, - sp1 = #{record.sp1,jdbcType=VARCHAR}, - sp2 = #{record.sp2,jdbcType=VARCHAR}, - sp3 = #{record.sp3,jdbcType=VARCHAR} - - - - - - update oms_order_item - - - order_id = #{orderId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - proudct_pic = #{proudctPic,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - product_brand = #{productBrand,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - product_amount = #{productAmount,jdbcType=DECIMAL}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_real_amount = #{productRealAmount,jdbcType=DECIMAL}, - - - sp1 = #{sp1,jdbcType=VARCHAR}, - - - sp2 = #{sp2,jdbcType=VARCHAR}, - - - sp3 = #{sp3,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_item - set order_id = #{orderId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - product_id = #{productId,jdbcType=BIGINT}, - proudct_pic = #{proudctPic,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - product_brand = #{productBrand,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - product_amount = #{productAmount,jdbcType=DECIMAL}, - product_count = #{productCount,jdbcType=INTEGER}, - product_real_amount = #{productRealAmount,jdbcType=DECIMAL}, - sp1 = #{sp1,jdbcType=VARCHAR}, - sp2 = #{sp2,jdbcType=VARCHAR}, - sp3 = #{sp3,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, order_sn, product_id, proudct_pic, product_name, product_brand, product_sn, - product_amount, product_count, product_real_amount, sp1, sp2, sp3 - - - - - delete from oms_order_item - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_item - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_item (order_id, order_sn, product_id, - proudct_pic, product_name, product_brand, - product_sn, product_amount, product_count, - product_real_amount, sp1, sp2, - sp3) - values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT}, - #{proudctPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, - #{productSn,jdbcType=VARCHAR}, #{productAmount,jdbcType=DECIMAL}, #{productCount,jdbcType=INTEGER}, - #{productRealAmount,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR}, - #{sp3,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_item - - - order_id, - - - order_sn, - - - product_id, - - - proudct_pic, - - - product_name, - - - product_brand, - - - product_sn, - - - product_amount, - - - product_count, - - - product_real_amount, - - - sp1, - - - sp2, - - - sp3, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{productId,jdbcType=BIGINT}, - - - #{proudctPic,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{productBrand,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - #{productAmount,jdbcType=DECIMAL}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productRealAmount,jdbcType=DECIMAL}, - - - #{sp1,jdbcType=VARCHAR}, - - - #{sp2,jdbcType=VARCHAR}, - - - #{sp3,jdbcType=VARCHAR}, - - - - - - update oms_order_item - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - proudct_pic = #{record.proudctPic,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - product_amount = #{record.productAmount,jdbcType=DECIMAL}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL}, - - - sp1 = #{record.sp1,jdbcType=VARCHAR}, - - - sp2 = #{record.sp2,jdbcType=VARCHAR}, - - - sp3 = #{record.sp3,jdbcType=VARCHAR}, - - - - - - - - update oms_order_item - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - product_id = #{record.productId,jdbcType=BIGINT}, - proudct_pic = #{record.proudctPic,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - product_amount = #{record.productAmount,jdbcType=DECIMAL}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL}, - sp1 = #{record.sp1,jdbcType=VARCHAR}, - sp2 = #{record.sp2,jdbcType=VARCHAR}, - sp3 = #{record.sp3,jdbcType=VARCHAR} - - - - - - update oms_order_item - - - order_id = #{orderId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - proudct_pic = #{proudctPic,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - product_brand = #{productBrand,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - product_amount = #{productAmount,jdbcType=DECIMAL}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_real_amount = #{productRealAmount,jdbcType=DECIMAL}, - - - sp1 = #{sp1,jdbcType=VARCHAR}, - - - sp2 = #{sp2,jdbcType=VARCHAR}, - - - sp3 = #{sp3,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_item - set order_id = #{orderId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - product_id = #{productId,jdbcType=BIGINT}, - proudct_pic = #{proudctPic,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - product_brand = #{productBrand,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - product_amount = #{productAmount,jdbcType=DECIMAL}, - product_count = #{productCount,jdbcType=INTEGER}, - product_real_amount = #{productRealAmount,jdbcType=DECIMAL}, - sp1 = #{sp1,jdbcType=VARCHAR}, - sp2 = #{sp2,jdbcType=VARCHAR}, - sp3 = #{sp3,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml index 0ca2a5c..c2ac7fe 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml @@ -698,1398 +698,4 @@ confirm_status = #{confirmStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, freight_amount, - promotion_amount, integration_amount, coupon_amount, discount_amount, pay_type, source_type, - status, order_type, delivery_company, delivery_sn, auto_confirm_day, integration, - growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, - bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, - receiver_city, receiver_region, receiver_detail_address, note, confirm_status - - - - - delete from oms_order - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order (member_id, coupon_id, order_sn, - create_time, member_username, total_amount, - freight_amount, promotion_amount, integration_amount, - coupon_amount, discount_amount, pay_type, - source_type, status, order_type, - delivery_company, delivery_sn, auto_confirm_day, - integration, growth, promotion_info, - bill_type, bill_header, bill_content, - bill_receiver_phone, bill_receiver_email, receiver_name, - receiver_phone, receiver_post_code, receiver_province, - receiver_city, receiver_region, receiver_detail_address, - note, confirm_status) - values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, - #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL}, - #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{payType,jdbcType=INTEGER}, - #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{orderType,jdbcType=INTEGER}, - #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, #{autoConfirmDay,jdbcType=INTEGER}, - #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{promotionInfo,jdbcType=VARCHAR}, - #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, #{billContent,jdbcType=VARCHAR}, - #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR}, - #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, #{receiverProvince,jdbcType=VARCHAR}, - #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, #{receiverDetailAddress,jdbcType=VARCHAR}, - #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order - - - member_id, - - - coupon_id, - - - order_sn, - - - create_time, - - - member_username, - - - total_amount, - - - freight_amount, - - - promotion_amount, - - - integration_amount, - - - coupon_amount, - - - discount_amount, - - - pay_type, - - - source_type, - - - status, - - - order_type, - - - delivery_company, - - - delivery_sn, - - - auto_confirm_day, - - - integration, - - - growth, - - - promotion_info, - - - bill_type, - - - bill_header, - - - bill_content, - - - bill_receiver_phone, - - - bill_receiver_email, - - - receiver_name, - - - receiver_phone, - - - receiver_post_code, - - - receiver_province, - - - receiver_city, - - - receiver_region, - - - receiver_detail_address, - - - note, - - - confirm_status, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{couponId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{memberUsername,jdbcType=VARCHAR}, - - - #{totalAmount,jdbcType=DECIMAL}, - - - #{freightAmount,jdbcType=DECIMAL}, - - - #{promotionAmount,jdbcType=DECIMAL}, - - - #{integrationAmount,jdbcType=DECIMAL}, - - - #{couponAmount,jdbcType=DECIMAL}, - - - #{discountAmount,jdbcType=DECIMAL}, - - - #{payType,jdbcType=INTEGER}, - - - #{sourceType,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - #{orderType,jdbcType=INTEGER}, - - - #{deliveryCompany,jdbcType=VARCHAR}, - - - #{deliverySn,jdbcType=VARCHAR}, - - - #{autoConfirmDay,jdbcType=INTEGER}, - - - #{integration,jdbcType=INTEGER}, - - - #{growth,jdbcType=INTEGER}, - - - #{promotionInfo,jdbcType=VARCHAR}, - - - #{billType,jdbcType=INTEGER}, - - - #{billHeader,jdbcType=VARCHAR}, - - - #{billContent,jdbcType=VARCHAR}, - - - #{billReceiverPhone,jdbcType=VARCHAR}, - - - #{billReceiverEmail,jdbcType=VARCHAR}, - - - #{receiverName,jdbcType=VARCHAR}, - - - #{receiverPhone,jdbcType=VARCHAR}, - - - #{receiverPostCode,jdbcType=VARCHAR}, - - - #{receiverProvince,jdbcType=VARCHAR}, - - - #{receiverCity,jdbcType=VARCHAR}, - - - #{receiverRegion,jdbcType=VARCHAR}, - - - #{receiverDetailAddress,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{confirmStatus,jdbcType=INTEGER}, - - - - - - update oms_order - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - - - total_amount = #{record.totalAmount,jdbcType=DECIMAL}, - - - freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, - - - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - - - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - - - discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, - - - pay_type = #{record.payType,jdbcType=INTEGER}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - order_type = #{record.orderType,jdbcType=INTEGER}, - - - delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, - - - delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, - - - auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, - - - integration = #{record.integration,jdbcType=INTEGER}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, - - - bill_type = #{record.billType,jdbcType=INTEGER}, - - - bill_header = #{record.billHeader,jdbcType=VARCHAR}, - - - bill_content = #{record.billContent,jdbcType=VARCHAR}, - - - bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, - - - bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, - - - receiver_name = #{record.receiverName,jdbcType=VARCHAR}, - - - receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, - - - receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, - - - receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, - - - receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, - - - receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, - - - receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, - - - - - - - - update oms_order - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - total_amount = #{record.totalAmount,jdbcType=DECIMAL}, - freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, - pay_type = #{record.payType,jdbcType=INTEGER}, - source_type = #{record.sourceType,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER}, - order_type = #{record.orderType,jdbcType=INTEGER}, - delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, - delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, - auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, - integration = #{record.integration,jdbcType=INTEGER}, - growth = #{record.growth,jdbcType=INTEGER}, - promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, - bill_type = #{record.billType,jdbcType=INTEGER}, - bill_header = #{record.billHeader,jdbcType=VARCHAR}, - bill_content = #{record.billContent,jdbcType=VARCHAR}, - bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, - bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, - receiver_name = #{record.receiverName,jdbcType=VARCHAR}, - receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, - receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, - receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, - receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, - receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, - receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - confirm_status = #{record.confirmStatus,jdbcType=INTEGER} - - - - - - update oms_order - - - member_id = #{memberId,jdbcType=BIGINT}, - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - member_username = #{memberUsername,jdbcType=VARCHAR}, - - - total_amount = #{totalAmount,jdbcType=DECIMAL}, - - - freight_amount = #{freightAmount,jdbcType=DECIMAL}, - - - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - - - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - - - discount_amount = #{discountAmount,jdbcType=DECIMAL}, - - - pay_type = #{payType,jdbcType=INTEGER}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - order_type = #{orderType,jdbcType=INTEGER}, - - - delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, - - - delivery_sn = #{deliverySn,jdbcType=VARCHAR}, - - - auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, - - - integration = #{integration,jdbcType=INTEGER}, - - - growth = #{growth,jdbcType=INTEGER}, - - - promotion_info = #{promotionInfo,jdbcType=VARCHAR}, - - - bill_type = #{billType,jdbcType=INTEGER}, - - - bill_header = #{billHeader,jdbcType=VARCHAR}, - - - bill_content = #{billContent,jdbcType=VARCHAR}, - - - bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, - - - bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, - - - receiver_name = #{receiverName,jdbcType=VARCHAR}, - - - receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, - - - receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, - - - receiver_province = #{receiverProvince,jdbcType=VARCHAR}, - - - receiver_city = #{receiverCity,jdbcType=VARCHAR}, - - - receiver_region = #{receiverRegion,jdbcType=VARCHAR}, - - - receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - confirm_status = #{confirmStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order - set member_id = #{memberId,jdbcType=BIGINT}, - coupon_id = #{couponId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - member_username = #{memberUsername,jdbcType=VARCHAR}, - total_amount = #{totalAmount,jdbcType=DECIMAL}, - freight_amount = #{freightAmount,jdbcType=DECIMAL}, - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - discount_amount = #{discountAmount,jdbcType=DECIMAL}, - pay_type = #{payType,jdbcType=INTEGER}, - source_type = #{sourceType,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER}, - order_type = #{orderType,jdbcType=INTEGER}, - delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, - delivery_sn = #{deliverySn,jdbcType=VARCHAR}, - auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, - integration = #{integration,jdbcType=INTEGER}, - growth = #{growth,jdbcType=INTEGER}, - promotion_info = #{promotionInfo,jdbcType=VARCHAR}, - bill_type = #{billType,jdbcType=INTEGER}, - bill_header = #{billHeader,jdbcType=VARCHAR}, - bill_content = #{billContent,jdbcType=VARCHAR}, - bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, - bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, - receiver_name = #{receiverName,jdbcType=VARCHAR}, - receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, - receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, - receiver_province = #{receiverProvince,jdbcType=VARCHAR}, - receiver_city = #{receiverCity,jdbcType=VARCHAR}, - receiver_region = #{receiverRegion,jdbcType=VARCHAR}, - receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - confirm_status = #{confirmStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, freight_amount, - promotion_amount, integration_amount, coupon_amount, discount_amount, pay_type, source_type, - status, order_type, delivery_company, delivery_sn, auto_confirm_day, integration, - growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, - bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, - receiver_city, receiver_region, receiver_detail_address, note, confirm_status - - - - - delete from oms_order - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order (member_id, coupon_id, order_sn, - create_time, member_username, total_amount, - freight_amount, promotion_amount, integration_amount, - coupon_amount, discount_amount, pay_type, - source_type, status, order_type, - delivery_company, delivery_sn, auto_confirm_day, - integration, growth, promotion_info, - bill_type, bill_header, bill_content, - bill_receiver_phone, bill_receiver_email, receiver_name, - receiver_phone, receiver_post_code, receiver_province, - receiver_city, receiver_region, receiver_detail_address, - note, confirm_status) - values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, - #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL}, - #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{payType,jdbcType=INTEGER}, - #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{orderType,jdbcType=INTEGER}, - #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, #{autoConfirmDay,jdbcType=INTEGER}, - #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{promotionInfo,jdbcType=VARCHAR}, - #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, #{billContent,jdbcType=VARCHAR}, - #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR}, - #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, #{receiverProvince,jdbcType=VARCHAR}, - #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, #{receiverDetailAddress,jdbcType=VARCHAR}, - #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order - - - member_id, - - - coupon_id, - - - order_sn, - - - create_time, - - - member_username, - - - total_amount, - - - freight_amount, - - - promotion_amount, - - - integration_amount, - - - coupon_amount, - - - discount_amount, - - - pay_type, - - - source_type, - - - status, - - - order_type, - - - delivery_company, - - - delivery_sn, - - - auto_confirm_day, - - - integration, - - - growth, - - - promotion_info, - - - bill_type, - - - bill_header, - - - bill_content, - - - bill_receiver_phone, - - - bill_receiver_email, - - - receiver_name, - - - receiver_phone, - - - receiver_post_code, - - - receiver_province, - - - receiver_city, - - - receiver_region, - - - receiver_detail_address, - - - note, - - - confirm_status, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{couponId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{memberUsername,jdbcType=VARCHAR}, - - - #{totalAmount,jdbcType=DECIMAL}, - - - #{freightAmount,jdbcType=DECIMAL}, - - - #{promotionAmount,jdbcType=DECIMAL}, - - - #{integrationAmount,jdbcType=DECIMAL}, - - - #{couponAmount,jdbcType=DECIMAL}, - - - #{discountAmount,jdbcType=DECIMAL}, - - - #{payType,jdbcType=INTEGER}, - - - #{sourceType,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - #{orderType,jdbcType=INTEGER}, - - - #{deliveryCompany,jdbcType=VARCHAR}, - - - #{deliverySn,jdbcType=VARCHAR}, - - - #{autoConfirmDay,jdbcType=INTEGER}, - - - #{integration,jdbcType=INTEGER}, - - - #{growth,jdbcType=INTEGER}, - - - #{promotionInfo,jdbcType=VARCHAR}, - - - #{billType,jdbcType=INTEGER}, - - - #{billHeader,jdbcType=VARCHAR}, - - - #{billContent,jdbcType=VARCHAR}, - - - #{billReceiverPhone,jdbcType=VARCHAR}, - - - #{billReceiverEmail,jdbcType=VARCHAR}, - - - #{receiverName,jdbcType=VARCHAR}, - - - #{receiverPhone,jdbcType=VARCHAR}, - - - #{receiverPostCode,jdbcType=VARCHAR}, - - - #{receiverProvince,jdbcType=VARCHAR}, - - - #{receiverCity,jdbcType=VARCHAR}, - - - #{receiverRegion,jdbcType=VARCHAR}, - - - #{receiverDetailAddress,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{confirmStatus,jdbcType=INTEGER}, - - - - - - update oms_order - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - - - total_amount = #{record.totalAmount,jdbcType=DECIMAL}, - - - freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, - - - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - - - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - - - discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, - - - pay_type = #{record.payType,jdbcType=INTEGER}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - order_type = #{record.orderType,jdbcType=INTEGER}, - - - delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, - - - delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, - - - auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, - - - integration = #{record.integration,jdbcType=INTEGER}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, - - - bill_type = #{record.billType,jdbcType=INTEGER}, - - - bill_header = #{record.billHeader,jdbcType=VARCHAR}, - - - bill_content = #{record.billContent,jdbcType=VARCHAR}, - - - bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, - - - bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, - - - receiver_name = #{record.receiverName,jdbcType=VARCHAR}, - - - receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, - - - receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, - - - receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, - - - receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, - - - receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, - - - receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, - - - - - - - - update oms_order - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - total_amount = #{record.totalAmount,jdbcType=DECIMAL}, - freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, - pay_type = #{record.payType,jdbcType=INTEGER}, - source_type = #{record.sourceType,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER}, - order_type = #{record.orderType,jdbcType=INTEGER}, - delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, - delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, - auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, - integration = #{record.integration,jdbcType=INTEGER}, - growth = #{record.growth,jdbcType=INTEGER}, - promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, - bill_type = #{record.billType,jdbcType=INTEGER}, - bill_header = #{record.billHeader,jdbcType=VARCHAR}, - bill_content = #{record.billContent,jdbcType=VARCHAR}, - bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, - bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, - receiver_name = #{record.receiverName,jdbcType=VARCHAR}, - receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, - receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, - receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, - receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, - receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, - receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - confirm_status = #{record.confirmStatus,jdbcType=INTEGER} - - - - - - update oms_order - - - member_id = #{memberId,jdbcType=BIGINT}, - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - member_username = #{memberUsername,jdbcType=VARCHAR}, - - - total_amount = #{totalAmount,jdbcType=DECIMAL}, - - - freight_amount = #{freightAmount,jdbcType=DECIMAL}, - - - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - - - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - - - discount_amount = #{discountAmount,jdbcType=DECIMAL}, - - - pay_type = #{payType,jdbcType=INTEGER}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - order_type = #{orderType,jdbcType=INTEGER}, - - - delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, - - - delivery_sn = #{deliverySn,jdbcType=VARCHAR}, - - - auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, - - - integration = #{integration,jdbcType=INTEGER}, - - - growth = #{growth,jdbcType=INTEGER}, - - - promotion_info = #{promotionInfo,jdbcType=VARCHAR}, - - - bill_type = #{billType,jdbcType=INTEGER}, - - - bill_header = #{billHeader,jdbcType=VARCHAR}, - - - bill_content = #{billContent,jdbcType=VARCHAR}, - - - bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, - - - bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, - - - receiver_name = #{receiverName,jdbcType=VARCHAR}, - - - receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, - - - receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, - - - receiver_province = #{receiverProvince,jdbcType=VARCHAR}, - - - receiver_city = #{receiverCity,jdbcType=VARCHAR}, - - - receiver_region = #{receiverRegion,jdbcType=VARCHAR}, - - - receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - confirm_status = #{confirmStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order - set member_id = #{memberId,jdbcType=BIGINT}, - coupon_id = #{couponId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - member_username = #{memberUsername,jdbcType=VARCHAR}, - total_amount = #{totalAmount,jdbcType=DECIMAL}, - freight_amount = #{freightAmount,jdbcType=DECIMAL}, - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - discount_amount = #{discountAmount,jdbcType=DECIMAL}, - pay_type = #{payType,jdbcType=INTEGER}, - source_type = #{sourceType,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER}, - order_type = #{orderType,jdbcType=INTEGER}, - delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, - delivery_sn = #{deliverySn,jdbcType=VARCHAR}, - auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, - integration = #{integration,jdbcType=INTEGER}, - growth = #{growth,jdbcType=INTEGER}, - promotion_info = #{promotionInfo,jdbcType=VARCHAR}, - bill_type = #{billType,jdbcType=INTEGER}, - bill_header = #{billHeader,jdbcType=VARCHAR}, - bill_content = #{billContent,jdbcType=VARCHAR}, - bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, - bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, - receiver_name = #{receiverName,jdbcType=VARCHAR}, - receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, - receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, - receiver_province = #{receiverProvince,jdbcType=VARCHAR}, - receiver_city = #{receiverCity,jdbcType=VARCHAR}, - receiver_region = #{receiverRegion,jdbcType=VARCHAR}, - receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - confirm_status = #{confirmStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml index 18b83cd..8136548 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml @@ -223,448 +223,4 @@ note = #{note,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, operate_man, create_time, order_status, note - - - - - delete from oms_order_operate_history - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_operate_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_operate_history (order_id, operate_man, create_time, - order_status, note) - values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_operate_history - - - order_id, - - - operate_man, - - - create_time, - - - order_status, - - - note, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{orderStatus,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update oms_order_operate_history - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - order_status = #{record.orderStatus,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update oms_order_operate_history - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - order_status = #{record.orderStatus,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update oms_order_operate_history - - - order_id = #{orderId,jdbcType=BIGINT}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - order_status = #{orderStatus,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_operate_history - set order_id = #{orderId,jdbcType=BIGINT}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - order_status = #{orderStatus,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, operate_man, create_time, order_status, note - - - - - delete from oms_order_operate_history - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_operate_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_operate_history (order_id, operate_man, create_time, - order_status, note) - values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_operate_history - - - order_id, - - - operate_man, - - - create_time, - - - order_status, - - - note, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{orderStatus,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update oms_order_operate_history - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - order_status = #{record.orderStatus,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update oms_order_operate_history - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - order_status = #{record.orderStatus,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update oms_order_operate_history - - - order_id = #{orderId,jdbcType=BIGINT}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - order_status = #{orderStatus,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_operate_history - set order_id = #{orderId,jdbcType=BIGINT}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - order_status = #{orderStatus,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml index 87bde0a..12e47d0 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml @@ -556,1114 +556,4 @@ receive_note = #{receiveNote,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, company_address_id, order_sn, create_time, member_username, return_amount, - return_name, return_phone, status, handle_time, product_pic, product_name, brand_name, - product_attr, product_count, reason, description, proof_pics, return_post_amount, - return_post_status, confirm_return_amount, handle_note, handle_man, receive_man, - receive_time, receive_note - - - - - delete from oms_order_return_apply - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_return_apply - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_apply (order_id, company_address_id, order_sn, - create_time, member_username, return_amount, - return_name, return_phone, status, - handle_time, product_pic, product_name, - brand_name, product_attr, product_count, - reason, description, proof_pics, - return_post_amount, return_post_status, confirm_return_amount, - handle_note, handle_man, receive_man, - receive_time, receive_note) - values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{returnAmount,jdbcType=DECIMAL}, - #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, - #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, - #{brandName,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, - #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, - #{returnPostAmount,jdbcType=DECIMAL}, #{returnPostStatus,jdbcType=INTEGER}, #{confirmReturnAmount,jdbcType=DECIMAL}, - #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, - #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_apply - - - order_id, - - - company_address_id, - - - order_sn, - - - create_time, - - - member_username, - - - return_amount, - - - return_name, - - - return_phone, - - - status, - - - handle_time, - - - product_pic, - - - product_name, - - - brand_name, - - - product_attr, - - - product_count, - - - reason, - - - description, - - - proof_pics, - - - return_post_amount, - - - return_post_status, - - - confirm_return_amount, - - - handle_note, - - - handle_man, - - - receive_man, - - - receive_time, - - - receive_note, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{companyAddressId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{memberUsername,jdbcType=VARCHAR}, - - - #{returnAmount,jdbcType=DECIMAL}, - - - #{returnName,jdbcType=VARCHAR}, - - - #{returnPhone,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{handleTime,jdbcType=TIMESTAMP}, - - - #{productPic,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{brandName,jdbcType=VARCHAR}, - - - #{productAttr,jdbcType=VARCHAR}, - - - #{productCount,jdbcType=INTEGER}, - - - #{reason,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{proofPics,jdbcType=VARCHAR}, - - - #{returnPostAmount,jdbcType=DECIMAL}, - - - #{returnPostStatus,jdbcType=INTEGER}, - - - #{confirmReturnAmount,jdbcType=DECIMAL}, - - - #{handleNote,jdbcType=VARCHAR}, - - - #{handleMan,jdbcType=VARCHAR}, - - - #{receiveMan,jdbcType=VARCHAR}, - - - #{receiveTime,jdbcType=TIMESTAMP}, - - - #{receiveNote,jdbcType=VARCHAR}, - - - - - - update oms_order_return_apply - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - - - return_amount = #{record.returnAmount,jdbcType=DECIMAL}, - - - return_name = #{record.returnName,jdbcType=VARCHAR}, - - - return_phone = #{record.returnPhone,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, - - - product_pic = #{record.productPic,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - brand_name = #{record.brandName,jdbcType=VARCHAR}, - - - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - reason = #{record.reason,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - proof_pics = #{record.proofPics,jdbcType=VARCHAR}, - - - return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL}, - - - return_post_status = #{record.returnPostStatus,jdbcType=INTEGER}, - - - confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL}, - - - handle_note = #{record.handleNote,jdbcType=VARCHAR}, - - - handle_man = #{record.handleMan,jdbcType=VARCHAR}, - - - receive_man = #{record.receiveMan,jdbcType=VARCHAR}, - - - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - - - receive_note = #{record.receiveNote,jdbcType=VARCHAR}, - - - - - - - - update oms_order_return_apply - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - return_amount = #{record.returnAmount,jdbcType=DECIMAL}, - return_name = #{record.returnName,jdbcType=VARCHAR}, - return_phone = #{record.returnPhone,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, - product_pic = #{record.productPic,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - brand_name = #{record.brandName,jdbcType=VARCHAR}, - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - reason = #{record.reason,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - proof_pics = #{record.proofPics,jdbcType=VARCHAR}, - return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL}, - return_post_status = #{record.returnPostStatus,jdbcType=INTEGER}, - confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL}, - handle_note = #{record.handleNote,jdbcType=VARCHAR}, - handle_man = #{record.handleMan,jdbcType=VARCHAR}, - receive_man = #{record.receiveMan,jdbcType=VARCHAR}, - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - receive_note = #{record.receiveNote,jdbcType=VARCHAR} - - - - - - update oms_order_return_apply - - - order_id = #{orderId,jdbcType=BIGINT}, - - - company_address_id = #{companyAddressId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - member_username = #{memberUsername,jdbcType=VARCHAR}, - - - return_amount = #{returnAmount,jdbcType=DECIMAL}, - - - return_name = #{returnName,jdbcType=VARCHAR}, - - - return_phone = #{returnPhone,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - handle_time = #{handleTime,jdbcType=TIMESTAMP}, - - - product_pic = #{productPic,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - brand_name = #{brandName,jdbcType=VARCHAR}, - - - product_attr = #{productAttr,jdbcType=VARCHAR}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - reason = #{reason,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - proof_pics = #{proofPics,jdbcType=VARCHAR}, - - - return_post_amount = #{returnPostAmount,jdbcType=DECIMAL}, - - - return_post_status = #{returnPostStatus,jdbcType=INTEGER}, - - - confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL}, - - - handle_note = #{handleNote,jdbcType=VARCHAR}, - - - handle_man = #{handleMan,jdbcType=VARCHAR}, - - - receive_man = #{receiveMan,jdbcType=VARCHAR}, - - - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - - - receive_note = #{receiveNote,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_return_apply - set order_id = #{orderId,jdbcType=BIGINT}, - company_address_id = #{companyAddressId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - member_username = #{memberUsername,jdbcType=VARCHAR}, - return_amount = #{returnAmount,jdbcType=DECIMAL}, - return_name = #{returnName,jdbcType=VARCHAR}, - return_phone = #{returnPhone,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - handle_time = #{handleTime,jdbcType=TIMESTAMP}, - product_pic = #{productPic,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - brand_name = #{brandName,jdbcType=VARCHAR}, - product_attr = #{productAttr,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - reason = #{reason,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - proof_pics = #{proofPics,jdbcType=VARCHAR}, - return_post_amount = #{returnPostAmount,jdbcType=DECIMAL}, - return_post_status = #{returnPostStatus,jdbcType=INTEGER}, - confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL}, - handle_note = #{handleNote,jdbcType=VARCHAR}, - handle_man = #{handleMan,jdbcType=VARCHAR}, - receive_man = #{receiveMan,jdbcType=VARCHAR}, - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - receive_note = #{receiveNote,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, company_address_id, order_sn, create_time, member_username, return_amount, - return_name, return_phone, status, handle_time, product_pic, product_name, brand_name, - product_attr, product_count, reason, description, proof_pics, return_post_amount, - return_post_status, confirm_return_amount, handle_note, handle_man, receive_man, - receive_time, receive_note - - - - - delete from oms_order_return_apply - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_return_apply - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_apply (order_id, company_address_id, order_sn, - create_time, member_username, return_amount, - return_name, return_phone, status, - handle_time, product_pic, product_name, - brand_name, product_attr, product_count, - reason, description, proof_pics, - return_post_amount, return_post_status, confirm_return_amount, - handle_note, handle_man, receive_man, - receive_time, receive_note) - values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{returnAmount,jdbcType=DECIMAL}, - #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, - #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, - #{brandName,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, - #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, - #{returnPostAmount,jdbcType=DECIMAL}, #{returnPostStatus,jdbcType=INTEGER}, #{confirmReturnAmount,jdbcType=DECIMAL}, - #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, - #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_apply - - - order_id, - - - company_address_id, - - - order_sn, - - - create_time, - - - member_username, - - - return_amount, - - - return_name, - - - return_phone, - - - status, - - - handle_time, - - - product_pic, - - - product_name, - - - brand_name, - - - product_attr, - - - product_count, - - - reason, - - - description, - - - proof_pics, - - - return_post_amount, - - - return_post_status, - - - confirm_return_amount, - - - handle_note, - - - handle_man, - - - receive_man, - - - receive_time, - - - receive_note, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{companyAddressId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{memberUsername,jdbcType=VARCHAR}, - - - #{returnAmount,jdbcType=DECIMAL}, - - - #{returnName,jdbcType=VARCHAR}, - - - #{returnPhone,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{handleTime,jdbcType=TIMESTAMP}, - - - #{productPic,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{brandName,jdbcType=VARCHAR}, - - - #{productAttr,jdbcType=VARCHAR}, - - - #{productCount,jdbcType=INTEGER}, - - - #{reason,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{proofPics,jdbcType=VARCHAR}, - - - #{returnPostAmount,jdbcType=DECIMAL}, - - - #{returnPostStatus,jdbcType=INTEGER}, - - - #{confirmReturnAmount,jdbcType=DECIMAL}, - - - #{handleNote,jdbcType=VARCHAR}, - - - #{handleMan,jdbcType=VARCHAR}, - - - #{receiveMan,jdbcType=VARCHAR}, - - - #{receiveTime,jdbcType=TIMESTAMP}, - - - #{receiveNote,jdbcType=VARCHAR}, - - - - - - update oms_order_return_apply - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - - - return_amount = #{record.returnAmount,jdbcType=DECIMAL}, - - - return_name = #{record.returnName,jdbcType=VARCHAR}, - - - return_phone = #{record.returnPhone,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, - - - product_pic = #{record.productPic,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - brand_name = #{record.brandName,jdbcType=VARCHAR}, - - - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - reason = #{record.reason,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - proof_pics = #{record.proofPics,jdbcType=VARCHAR}, - - - return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL}, - - - return_post_status = #{record.returnPostStatus,jdbcType=INTEGER}, - - - confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL}, - - - handle_note = #{record.handleNote,jdbcType=VARCHAR}, - - - handle_man = #{record.handleMan,jdbcType=VARCHAR}, - - - receive_man = #{record.receiveMan,jdbcType=VARCHAR}, - - - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - - - receive_note = #{record.receiveNote,jdbcType=VARCHAR}, - - - - - - - - update oms_order_return_apply - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - return_amount = #{record.returnAmount,jdbcType=DECIMAL}, - return_name = #{record.returnName,jdbcType=VARCHAR}, - return_phone = #{record.returnPhone,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, - product_pic = #{record.productPic,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - brand_name = #{record.brandName,jdbcType=VARCHAR}, - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - reason = #{record.reason,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - proof_pics = #{record.proofPics,jdbcType=VARCHAR}, - return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL}, - return_post_status = #{record.returnPostStatus,jdbcType=INTEGER}, - confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL}, - handle_note = #{record.handleNote,jdbcType=VARCHAR}, - handle_man = #{record.handleMan,jdbcType=VARCHAR}, - receive_man = #{record.receiveMan,jdbcType=VARCHAR}, - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - receive_note = #{record.receiveNote,jdbcType=VARCHAR} - - - - - - update oms_order_return_apply - - - order_id = #{orderId,jdbcType=BIGINT}, - - - company_address_id = #{companyAddressId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - member_username = #{memberUsername,jdbcType=VARCHAR}, - - - return_amount = #{returnAmount,jdbcType=DECIMAL}, - - - return_name = #{returnName,jdbcType=VARCHAR}, - - - return_phone = #{returnPhone,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - handle_time = #{handleTime,jdbcType=TIMESTAMP}, - - - product_pic = #{productPic,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - brand_name = #{brandName,jdbcType=VARCHAR}, - - - product_attr = #{productAttr,jdbcType=VARCHAR}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - reason = #{reason,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - proof_pics = #{proofPics,jdbcType=VARCHAR}, - - - return_post_amount = #{returnPostAmount,jdbcType=DECIMAL}, - - - return_post_status = #{returnPostStatus,jdbcType=INTEGER}, - - - confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL}, - - - handle_note = #{handleNote,jdbcType=VARCHAR}, - - - handle_man = #{handleMan,jdbcType=VARCHAR}, - - - receive_man = #{receiveMan,jdbcType=VARCHAR}, - - - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - - - receive_note = #{receiveNote,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_return_apply - set order_id = #{orderId,jdbcType=BIGINT}, - company_address_id = #{companyAddressId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - member_username = #{memberUsername,jdbcType=VARCHAR}, - return_amount = #{returnAmount,jdbcType=DECIMAL}, - return_name = #{returnName,jdbcType=VARCHAR}, - return_phone = #{returnPhone,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - handle_time = #{handleTime,jdbcType=TIMESTAMP}, - product_pic = #{productPic,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - brand_name = #{brandName,jdbcType=VARCHAR}, - product_attr = #{productAttr,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - reason = #{reason,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - proof_pics = #{proofPics,jdbcType=VARCHAR}, - return_post_amount = #{returnPostAmount,jdbcType=DECIMAL}, - return_post_status = #{returnPostStatus,jdbcType=INTEGER}, - confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL}, - handle_note = #{handleNote,jdbcType=VARCHAR}, - handle_man = #{handleMan,jdbcType=VARCHAR}, - receive_man = #{receiveMan,jdbcType=VARCHAR}, - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - receive_note = #{receiveNote,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml index 48d8aa6..40e51b0 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml @@ -193,388 +193,4 @@ status = #{status,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, sort, status - - - - - delete from oms_order_return_reason - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_return_reason - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_reason (name, sort, status - ) - values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_reason - - - name, - - - sort, - - - status, - - - - - #{name,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - - - - update oms_order_return_reason - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - - - - - - update oms_order_return_reason - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER} - - - - - - update oms_order_return_reason - - - name = #{name,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_return_reason - set name = #{name,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, sort, status - - - - - delete from oms_order_return_reason - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_return_reason - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_reason (name, sort, status - ) - values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_reason - - - name, - - - sort, - - - status, - - - - - #{name,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - - - - update oms_order_return_reason - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - - - - - - update oms_order_return_reason - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER} - - - - - - update oms_order_return_reason - - - name = #{name,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_return_reason - set name = #{name,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml index 2d03ce9..6ed0224 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml @@ -226,454 +226,4 @@ comment_overtime = #{commentOvertime,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, - comment_overtime - - - - - delete from oms_order_setting - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_setting (flash_order_overtime, normal_order_overtime, - confirm_overtime, finish_overtime, comment_overtime - ) - values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, - #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_setting - - - flash_order_overtime, - - - normal_order_overtime, - - - confirm_overtime, - - - finish_overtime, - - - comment_overtime, - - - - - #{flashOrderOvertime,jdbcType=INTEGER}, - - - #{normalOrderOvertime,jdbcType=INTEGER}, - - - #{confirmOvertime,jdbcType=INTEGER}, - - - #{finishOvertime,jdbcType=INTEGER}, - - - #{commentOvertime,jdbcType=INTEGER}, - - - - - - update oms_order_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, - - - normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, - - - confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, - - - finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, - - - comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, - - - - - - - - update oms_order_setting - set id = #{record.id,jdbcType=BIGINT}, - flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, - normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, - confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, - finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, - comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} - - - - - - update oms_order_setting - - - flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, - - - normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, - - - confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, - - - finish_overtime = #{finishOvertime,jdbcType=INTEGER}, - - - comment_overtime = #{commentOvertime,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_setting - set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, - normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, - confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, - finish_overtime = #{finishOvertime,jdbcType=INTEGER}, - comment_overtime = #{commentOvertime,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, - comment_overtime - - - - - delete from oms_order_setting - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_setting (flash_order_overtime, normal_order_overtime, - confirm_overtime, finish_overtime, comment_overtime - ) - values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, - #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_setting - - - flash_order_overtime, - - - normal_order_overtime, - - - confirm_overtime, - - - finish_overtime, - - - comment_overtime, - - - - - #{flashOrderOvertime,jdbcType=INTEGER}, - - - #{normalOrderOvertime,jdbcType=INTEGER}, - - - #{confirmOvertime,jdbcType=INTEGER}, - - - #{finishOvertime,jdbcType=INTEGER}, - - - #{commentOvertime,jdbcType=INTEGER}, - - - - - - update oms_order_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, - - - normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, - - - confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, - - - finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, - - - comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, - - - - - - - - update oms_order_setting - set id = #{record.id,jdbcType=BIGINT}, - flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, - normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, - confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, - finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, - comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} - - - - - - update oms_order_setting - - - flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, - - - normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, - - - confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, - - - finish_overtime = #{finishOvertime,jdbcType=INTEGER}, - - - comment_overtime = #{commentOvertime,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_setting - set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, - normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, - confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, - finish_overtime = #{finishOvertime,jdbcType=INTEGER}, - comment_overtime = #{commentOvertime,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml index 3c7d03f..f2953d7 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml @@ -223,448 +223,4 @@ description = #{description,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, cover_pic, pic_count, sort, description - - - - - delete from pms_album - where id = #{id,jdbcType=BIGINT} - - - delete from pms_album - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_album (name, cover_pic, pic_count, - sort, description) - values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_album - - - name, - - - cover_pic, - - - pic_count, - - - sort, - - - description, - - - - - #{name,jdbcType=VARCHAR}, - - - #{coverPic,jdbcType=VARCHAR}, - - - #{picCount,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{description,jdbcType=VARCHAR}, - - - - - - update pms_album - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - cover_pic = #{record.coverPic,jdbcType=VARCHAR}, - - - pic_count = #{record.picCount,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - - - - - - update pms_album - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - cover_pic = #{record.coverPic,jdbcType=VARCHAR}, - pic_count = #{record.picCount,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - description = #{record.description,jdbcType=VARCHAR} - - - - - - update pms_album - - - name = #{name,jdbcType=VARCHAR}, - - - cover_pic = #{coverPic,jdbcType=VARCHAR}, - - - pic_count = #{picCount,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - description = #{description,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_album - set name = #{name,jdbcType=VARCHAR}, - cover_pic = #{coverPic,jdbcType=VARCHAR}, - pic_count = #{picCount,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - description = #{description,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, cover_pic, pic_count, sort, description - - - - - delete from pms_album - where id = #{id,jdbcType=BIGINT} - - - delete from pms_album - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_album (name, cover_pic, pic_count, - sort, description) - values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_album - - - name, - - - cover_pic, - - - pic_count, - - - sort, - - - description, - - - - - #{name,jdbcType=VARCHAR}, - - - #{coverPic,jdbcType=VARCHAR}, - - - #{picCount,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{description,jdbcType=VARCHAR}, - - - - - - update pms_album - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - cover_pic = #{record.coverPic,jdbcType=VARCHAR}, - - - pic_count = #{record.picCount,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - - - - - - update pms_album - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - cover_pic = #{record.coverPic,jdbcType=VARCHAR}, - pic_count = #{record.picCount,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - description = #{record.description,jdbcType=VARCHAR} - - - - - - update pms_album - - - name = #{name,jdbcType=VARCHAR}, - - - cover_pic = #{coverPic,jdbcType=VARCHAR}, - - - pic_count = #{picCount,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - description = #{description,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_album - set name = #{name,jdbcType=VARCHAR}, - cover_pic = #{coverPic,jdbcType=VARCHAR}, - pic_count = #{picCount,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - description = #{description,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml index 1102457..ffb095f 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml @@ -176,354 +176,4 @@ pic = #{pic,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, album_id, pic - - - - - delete from pms_album_pic - where id = #{id,jdbcType=BIGINT} - - - delete from pms_album_pic - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_album_pic (album_id, pic) - values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_album_pic - - - album_id, - - - pic, - - - - - #{albumId,jdbcType=BIGINT}, - - - #{pic,jdbcType=VARCHAR}, - - - - - - update pms_album_pic - - - id = #{record.id,jdbcType=BIGINT}, - - - album_id = #{record.albumId,jdbcType=BIGINT}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - - - - - - update pms_album_pic - set id = #{record.id,jdbcType=BIGINT}, - album_id = #{record.albumId,jdbcType=BIGINT}, - pic = #{record.pic,jdbcType=VARCHAR} - - - - - - update pms_album_pic - - - album_id = #{albumId,jdbcType=BIGINT}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_album_pic - set album_id = #{albumId,jdbcType=BIGINT}, - pic = #{pic,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, album_id, pic - - - - - delete from pms_album_pic - where id = #{id,jdbcType=BIGINT} - - - delete from pms_album_pic - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_album_pic (album_id, pic) - values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_album_pic - - - album_id, - - - pic, - - - - - #{albumId,jdbcType=BIGINT}, - - - #{pic,jdbcType=VARCHAR}, - - - - - - update pms_album_pic - - - id = #{record.id,jdbcType=BIGINT}, - - - album_id = #{record.albumId,jdbcType=BIGINT}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - - - - - - update pms_album_pic - set id = #{record.id,jdbcType=BIGINT}, - album_id = #{record.albumId,jdbcType=BIGINT}, - pic = #{record.pic,jdbcType=VARCHAR} - - - - - - update pms_album_pic - - - album_id = #{albumId,jdbcType=BIGINT}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_album_pic - set album_id = #{albumId,jdbcType=BIGINT}, - pic = #{pic,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml index 0c7fd33..eb058f3 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml @@ -355,712 +355,4 @@ big_pic = #{bigPic,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, - logo, big_pic - - - brand_story - - - - - - delete from pms_brand - where id = #{id,jdbcType=BIGINT} - - - delete from pms_brand - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_brand (name, first_letter, sort, - factory_status, show_status, product_count, - product_comment_count, logo, big_pic, - brand_story) - values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, - #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, - #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, - #{brandStory,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_brand - - - name, - - - first_letter, - - - sort, - - - factory_status, - - - show_status, - - - product_count, - - - product_comment_count, - - - logo, - - - big_pic, - - - brand_story, - - - - - #{name,jdbcType=VARCHAR}, - - - #{firstLetter,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{factoryStatus,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productCommentCount,jdbcType=INTEGER}, - - - #{logo,jdbcType=VARCHAR}, - - - #{bigPic,jdbcType=VARCHAR}, - - - #{brandStory,jdbcType=LONGVARCHAR}, - - - - - - update pms_brand - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - - - logo = #{record.logo,jdbcType=VARCHAR}, - - - big_pic = #{record.bigPic,jdbcType=VARCHAR}, - - - brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_brand - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - logo = #{record.logo,jdbcType=VARCHAR}, - big_pic = #{record.bigPic,jdbcType=VARCHAR}, - brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} - - - - - - update pms_brand - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - logo = #{record.logo,jdbcType=VARCHAR}, - big_pic = #{record.bigPic,jdbcType=VARCHAR} - - - - - - update pms_brand - - - name = #{name,jdbcType=VARCHAR}, - - - first_letter = #{firstLetter,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - factory_status = #{factoryStatus,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - - - logo = #{logo,jdbcType=VARCHAR}, - - - big_pic = #{bigPic,jdbcType=VARCHAR}, - - - brand_story = #{brandStory,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_brand - set name = #{name,jdbcType=VARCHAR}, - first_letter = #{firstLetter,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - factory_status = #{factoryStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - logo = #{logo,jdbcType=VARCHAR}, - big_pic = #{bigPic,jdbcType=VARCHAR}, - brand_story = #{brandStory,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_brand - set name = #{name,jdbcType=VARCHAR}, - first_letter = #{firstLetter,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - factory_status = #{factoryStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - logo = #{logo,jdbcType=VARCHAR}, - big_pic = #{bigPic,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, - logo, big_pic - - - brand_story - - - - - - delete from pms_brand - where id = #{id,jdbcType=BIGINT} - - - delete from pms_brand - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_brand (name, first_letter, sort, - factory_status, show_status, product_count, - product_comment_count, logo, big_pic, - brand_story) - values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, - #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, - #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, - #{brandStory,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_brand - - - name, - - - first_letter, - - - sort, - - - factory_status, - - - show_status, - - - product_count, - - - product_comment_count, - - - logo, - - - big_pic, - - - brand_story, - - - - - #{name,jdbcType=VARCHAR}, - - - #{firstLetter,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{factoryStatus,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productCommentCount,jdbcType=INTEGER}, - - - #{logo,jdbcType=VARCHAR}, - - - #{bigPic,jdbcType=VARCHAR}, - - - #{brandStory,jdbcType=LONGVARCHAR}, - - - - - - update pms_brand - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - - - logo = #{record.logo,jdbcType=VARCHAR}, - - - big_pic = #{record.bigPic,jdbcType=VARCHAR}, - - - brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_brand - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - logo = #{record.logo,jdbcType=VARCHAR}, - big_pic = #{record.bigPic,jdbcType=VARCHAR}, - brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} - - - - - - update pms_brand - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - logo = #{record.logo,jdbcType=VARCHAR}, - big_pic = #{record.bigPic,jdbcType=VARCHAR} - - - - - - update pms_brand - - - name = #{name,jdbcType=VARCHAR}, - - - first_letter = #{firstLetter,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - factory_status = #{factoryStatus,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - - - logo = #{logo,jdbcType=VARCHAR}, - - - big_pic = #{bigPic,jdbcType=VARCHAR}, - - - brand_story = #{brandStory,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_brand - set name = #{name,jdbcType=VARCHAR}, - first_letter = #{firstLetter,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - factory_status = #{factoryStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - logo = #{logo,jdbcType=VARCHAR}, - big_pic = #{bigPic,jdbcType=VARCHAR}, - brand_story = #{brandStory,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_brand - set name = #{name,jdbcType=VARCHAR}, - first_letter = #{firstLetter,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - factory_status = #{factoryStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - logo = #{logo,jdbcType=VARCHAR}, - big_pic = #{bigPic,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml index 22264fb..bdb4720 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml @@ -425,852 +425,4 @@ replay_count = #{replayCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, - product_attribute, collect_couont, read_count, pics, member_icon, replay_count - - - content - - - - - - delete from pms_comment - where id = #{id,jdbcType=BIGINT} - - - delete from pms_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment (product_id, member_nick_name, product_name, - star, member_ip, create_time, - show_status, product_attribute, collect_couont, - read_count, pics, member_icon, - replay_count, content) - values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, - #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, - #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment - - - product_id, - - - member_nick_name, - - - product_name, - - - star, - - - member_ip, - - - create_time, - - - show_status, - - - product_attribute, - - - collect_couont, - - - read_count, - - - pics, - - - member_icon, - - - replay_count, - - - content, - - - - - #{productId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{star,jdbcType=INTEGER}, - - - #{memberIp,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{productAttribute,jdbcType=VARCHAR}, - - - #{collectCouont,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{pics,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{replayCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update pms_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - star = #{record.star,jdbcType=INTEGER}, - - - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - - - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - pics = #{record.pics,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - replay_count = #{record.replayCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_comment - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - star = #{record.star,jdbcType=INTEGER}, - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - pics = #{record.pics,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - replay_count = #{record.replayCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update pms_comment - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - star = #{record.star,jdbcType=INTEGER}, - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - pics = #{record.pics,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - replay_count = #{record.replayCount,jdbcType=INTEGER} - - - - - - update pms_comment - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - star = #{star,jdbcType=INTEGER}, - - - member_ip = #{memberIp,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - - - collect_couont = #{collectCouont,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - pics = #{pics,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - replay_count = #{replayCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_comment - set product_id = #{productId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - star = #{star,jdbcType=INTEGER}, - member_ip = #{memberIp,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - collect_couont = #{collectCouont,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - pics = #{pics,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - replay_count = #{replayCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_comment - set product_id = #{productId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - star = #{star,jdbcType=INTEGER}, - member_ip = #{memberIp,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - collect_couont = #{collectCouont,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - pics = #{pics,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - replay_count = #{replayCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, - product_attribute, collect_couont, read_count, pics, member_icon, replay_count - - - content - - - - - - delete from pms_comment - where id = #{id,jdbcType=BIGINT} - - - delete from pms_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment (product_id, member_nick_name, product_name, - star, member_ip, create_time, - show_status, product_attribute, collect_couont, - read_count, pics, member_icon, - replay_count, content) - values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, - #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, - #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment - - - product_id, - - - member_nick_name, - - - product_name, - - - star, - - - member_ip, - - - create_time, - - - show_status, - - - product_attribute, - - - collect_couont, - - - read_count, - - - pics, - - - member_icon, - - - replay_count, - - - content, - - - - - #{productId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{star,jdbcType=INTEGER}, - - - #{memberIp,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{productAttribute,jdbcType=VARCHAR}, - - - #{collectCouont,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{pics,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{replayCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update pms_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - star = #{record.star,jdbcType=INTEGER}, - - - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - - - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - pics = #{record.pics,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - replay_count = #{record.replayCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_comment - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - star = #{record.star,jdbcType=INTEGER}, - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - pics = #{record.pics,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - replay_count = #{record.replayCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update pms_comment - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - star = #{record.star,jdbcType=INTEGER}, - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - pics = #{record.pics,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - replay_count = #{record.replayCount,jdbcType=INTEGER} - - - - - - update pms_comment - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - star = #{star,jdbcType=INTEGER}, - - - member_ip = #{memberIp,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - - - collect_couont = #{collectCouont,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - pics = #{pics,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - replay_count = #{replayCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_comment - set product_id = #{productId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - star = #{star,jdbcType=INTEGER}, - member_ip = #{memberIp,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - collect_couont = #{collectCouont,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - pics = #{pics,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - replay_count = #{replayCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_comment - set product_id = #{productId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - star = #{star,jdbcType=INTEGER}, - member_ip = #{memberIp,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - collect_couont = #{collectCouont,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - pics = #{pics,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - replay_count = #{replayCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml index c5c7d22..4054507 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml @@ -240,482 +240,4 @@ type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, comment_id, member_nick_name, member_icon, content, create_time, type - - - - - delete from pms_comment_replay - where id = #{id,jdbcType=BIGINT} - - - delete from pms_comment_replay - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment_replay (comment_id, member_nick_name, member_icon, - content, create_time, type - ) - values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment_replay - - - comment_id, - - - member_nick_name, - - - member_icon, - - - content, - - - create_time, - - - type, - - - - - #{commentId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{type,jdbcType=INTEGER}, - - - - - - update pms_comment_replay - - - id = #{record.id,jdbcType=BIGINT}, - - - comment_id = #{record.commentId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update pms_comment_replay - set id = #{record.id,jdbcType=BIGINT}, - comment_id = #{record.commentId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update pms_comment_replay - - - comment_id = #{commentId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_comment_replay - set comment_id = #{commentId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, comment_id, member_nick_name, member_icon, content, create_time, type - - - - - delete from pms_comment_replay - where id = #{id,jdbcType=BIGINT} - - - delete from pms_comment_replay - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment_replay (comment_id, member_nick_name, member_icon, - content, create_time, type - ) - values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment_replay - - - comment_id, - - - member_nick_name, - - - member_icon, - - - content, - - - create_time, - - - type, - - - - - #{commentId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{type,jdbcType=INTEGER}, - - - - - - update pms_comment_replay - - - id = #{record.id,jdbcType=BIGINT}, - - - comment_id = #{record.commentId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update pms_comment_replay - set id = #{record.id,jdbcType=BIGINT}, - comment_id = #{record.commentId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update pms_comment_replay - - - comment_id = #{commentId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_comment_replay - set comment_id = #{commentId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml index cec6574..a52978b 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml @@ -255,512 +255,4 @@ dest = #{dest,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest - - - - - delete from pms_feight_template - where id = #{id,jdbcType=BIGINT} - - - delete from pms_feight_template - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_feight_template (name, charge_type, first_weight, - first_fee, continue_weight, continme_fee, - dest) - values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, - #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, - #{dest,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_feight_template - - - name, - - - charge_type, - - - first_weight, - - - first_fee, - - - continue_weight, - - - continme_fee, - - - dest, - - - - - #{name,jdbcType=VARCHAR}, - - - #{chargeType,jdbcType=INTEGER}, - - - #{firstWeight,jdbcType=DECIMAL}, - - - #{firstFee,jdbcType=DECIMAL}, - - - #{continueWeight,jdbcType=DECIMAL}, - - - #{continmeFee,jdbcType=DECIMAL}, - - - #{dest,jdbcType=VARCHAR}, - - - - - - update pms_feight_template - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - charge_type = #{record.chargeType,jdbcType=INTEGER}, - - - first_weight = #{record.firstWeight,jdbcType=DECIMAL}, - - - first_fee = #{record.firstFee,jdbcType=DECIMAL}, - - - continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, - - - continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, - - - dest = #{record.dest,jdbcType=VARCHAR}, - - - - - - - - update pms_feight_template - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - charge_type = #{record.chargeType,jdbcType=INTEGER}, - first_weight = #{record.firstWeight,jdbcType=DECIMAL}, - first_fee = #{record.firstFee,jdbcType=DECIMAL}, - continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, - continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, - dest = #{record.dest,jdbcType=VARCHAR} - - - - - - update pms_feight_template - - - name = #{name,jdbcType=VARCHAR}, - - - charge_type = #{chargeType,jdbcType=INTEGER}, - - - first_weight = #{firstWeight,jdbcType=DECIMAL}, - - - first_fee = #{firstFee,jdbcType=DECIMAL}, - - - continue_weight = #{continueWeight,jdbcType=DECIMAL}, - - - continme_fee = #{continmeFee,jdbcType=DECIMAL}, - - - dest = #{dest,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_feight_template - set name = #{name,jdbcType=VARCHAR}, - charge_type = #{chargeType,jdbcType=INTEGER}, - first_weight = #{firstWeight,jdbcType=DECIMAL}, - first_fee = #{firstFee,jdbcType=DECIMAL}, - continue_weight = #{continueWeight,jdbcType=DECIMAL}, - continme_fee = #{continmeFee,jdbcType=DECIMAL}, - dest = #{dest,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest - - - - - delete from pms_feight_template - where id = #{id,jdbcType=BIGINT} - - - delete from pms_feight_template - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_feight_template (name, charge_type, first_weight, - first_fee, continue_weight, continme_fee, - dest) - values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, - #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, - #{dest,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_feight_template - - - name, - - - charge_type, - - - first_weight, - - - first_fee, - - - continue_weight, - - - continme_fee, - - - dest, - - - - - #{name,jdbcType=VARCHAR}, - - - #{chargeType,jdbcType=INTEGER}, - - - #{firstWeight,jdbcType=DECIMAL}, - - - #{firstFee,jdbcType=DECIMAL}, - - - #{continueWeight,jdbcType=DECIMAL}, - - - #{continmeFee,jdbcType=DECIMAL}, - - - #{dest,jdbcType=VARCHAR}, - - - - - - update pms_feight_template - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - charge_type = #{record.chargeType,jdbcType=INTEGER}, - - - first_weight = #{record.firstWeight,jdbcType=DECIMAL}, - - - first_fee = #{record.firstFee,jdbcType=DECIMAL}, - - - continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, - - - continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, - - - dest = #{record.dest,jdbcType=VARCHAR}, - - - - - - - - update pms_feight_template - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - charge_type = #{record.chargeType,jdbcType=INTEGER}, - first_weight = #{record.firstWeight,jdbcType=DECIMAL}, - first_fee = #{record.firstFee,jdbcType=DECIMAL}, - continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, - continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, - dest = #{record.dest,jdbcType=VARCHAR} - - - - - - update pms_feight_template - - - name = #{name,jdbcType=VARCHAR}, - - - charge_type = #{chargeType,jdbcType=INTEGER}, - - - first_weight = #{firstWeight,jdbcType=DECIMAL}, - - - first_fee = #{firstFee,jdbcType=DECIMAL}, - - - continue_weight = #{continueWeight,jdbcType=DECIMAL}, - - - continme_fee = #{continmeFee,jdbcType=DECIMAL}, - - - dest = #{dest,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_feight_template - set name = #{name,jdbcType=VARCHAR}, - charge_type = #{chargeType,jdbcType=INTEGER}, - first_weight = #{firstWeight,jdbcType=DECIMAL}, - first_fee = #{firstFee,jdbcType=DECIMAL}, - continue_weight = #{continueWeight,jdbcType=DECIMAL}, - continme_fee = #{continmeFee,jdbcType=DECIMAL}, - dest = #{dest,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml index 998ae0f..f6cd0e2 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml @@ -193,388 +193,4 @@ member_price = #{memberPrice,jdbcType=DECIMAL} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, member_level_id, member_price - - - - - delete from pms_member_price - where id = #{id,jdbcType=BIGINT} - - - delete from pms_member_price - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_member_price (product_id, member_level_id, member_price - ) - values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_member_price - - - product_id, - - - member_level_id, - - - member_price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{memberLevelId,jdbcType=BIGINT}, - - - #{memberPrice,jdbcType=DECIMAL}, - - - - - - update pms_member_price - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - - - member_price = #{record.memberPrice,jdbcType=DECIMAL}, - - - - - - - - update pms_member_price - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - member_price = #{record.memberPrice,jdbcType=DECIMAL} - - - - - - update pms_member_price - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - - - member_price = #{memberPrice,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_member_price - set product_id = #{productId,jdbcType=BIGINT}, - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - member_price = #{memberPrice,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, member_level_id, member_price - - - - - delete from pms_member_price - where id = #{id,jdbcType=BIGINT} - - - delete from pms_member_price - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_member_price (product_id, member_level_id, member_price - ) - values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_member_price - - - product_id, - - - member_level_id, - - - member_price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{memberLevelId,jdbcType=BIGINT}, - - - #{memberPrice,jdbcType=DECIMAL}, - - - - - - update pms_member_price - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - - - member_price = #{record.memberPrice,jdbcType=DECIMAL}, - - - - - - - - update pms_member_price - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - member_price = #{record.memberPrice,jdbcType=DECIMAL} - - - - - - update pms_member_price - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - - - member_price = #{memberPrice,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_member_price - set product_id = #{productId,jdbcType=BIGINT}, - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - member_price = #{memberPrice,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml index cefdc5f..77de13f 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml @@ -193,388 +193,4 @@ param_count = #{paramCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, attribute_count, param_count - - - - - delete from pms_product_attribute_category - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_category (name, attribute_count, param_count - ) - values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_category - - - name, - - - attribute_count, - - - param_count, - - - - - #{name,jdbcType=VARCHAR}, - - - #{attributeCount,jdbcType=INTEGER}, - - - #{paramCount,jdbcType=INTEGER}, - - - - - - update pms_product_attribute_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - attribute_count = #{record.attributeCount,jdbcType=INTEGER}, - - - param_count = #{record.paramCount,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - attribute_count = #{record.attributeCount,jdbcType=INTEGER}, - param_count = #{record.paramCount,jdbcType=INTEGER} - - - - - - update pms_product_attribute_category - - - name = #{name,jdbcType=VARCHAR}, - - - attribute_count = #{attributeCount,jdbcType=INTEGER}, - - - param_count = #{paramCount,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute_category - set name = #{name,jdbcType=VARCHAR}, - attribute_count = #{attributeCount,jdbcType=INTEGER}, - param_count = #{paramCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, attribute_count, param_count - - - - - delete from pms_product_attribute_category - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_category (name, attribute_count, param_count - ) - values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_category - - - name, - - - attribute_count, - - - param_count, - - - - - #{name,jdbcType=VARCHAR}, - - - #{attributeCount,jdbcType=INTEGER}, - - - #{paramCount,jdbcType=INTEGER}, - - - - - - update pms_product_attribute_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - attribute_count = #{record.attributeCount,jdbcType=INTEGER}, - - - param_count = #{record.paramCount,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - attribute_count = #{record.attributeCount,jdbcType=INTEGER}, - param_count = #{record.paramCount,jdbcType=INTEGER} - - - - - - update pms_product_attribute_category - - - name = #{name,jdbcType=VARCHAR}, - - - attribute_count = #{attributeCount,jdbcType=INTEGER}, - - - param_count = #{paramCount,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute_category - set name = #{name,jdbcType=VARCHAR}, - attribute_count = #{attributeCount,jdbcType=INTEGER}, - param_count = #{paramCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml index 61b5740..c57f73a 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml @@ -320,642 +320,4 @@ type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_attribute_category_id, name, select_type, input_type, input_list, sort, - filter_type, search_type, related_status, hand_add_status, type - - - - - delete from pms_product_attribute - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute (product_attribute_category_id, name, - select_type, input_type, input_list, - sort, filter_type, search_type, - related_status, hand_add_status, type - ) - values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, - #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, - #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, - #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute - - - product_attribute_category_id, - - - name, - - - select_type, - - - input_type, - - - input_list, - - - sort, - - - filter_type, - - - search_type, - - - related_status, - - - hand_add_status, - - - type, - - - - - #{productAttributeCategoryId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{selectType,jdbcType=INTEGER}, - - - #{inputType,jdbcType=INTEGER}, - - - #{inputList,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{filterType,jdbcType=INTEGER}, - - - #{searchType,jdbcType=INTEGER}, - - - #{relatedStatus,jdbcType=INTEGER}, - - - #{handAddStatus,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update pms_product_attribute - - - id = #{record.id,jdbcType=BIGINT}, - - - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - select_type = #{record.selectType,jdbcType=INTEGER}, - - - input_type = #{record.inputType,jdbcType=INTEGER}, - - - input_list = #{record.inputList,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - filter_type = #{record.filterType,jdbcType=INTEGER}, - - - search_type = #{record.searchType,jdbcType=INTEGER}, - - - related_status = #{record.relatedStatus,jdbcType=INTEGER}, - - - hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute - set id = #{record.id,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - select_type = #{record.selectType,jdbcType=INTEGER}, - input_type = #{record.inputType,jdbcType=INTEGER}, - input_list = #{record.inputList,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - filter_type = #{record.filterType,jdbcType=INTEGER}, - search_type = #{record.searchType,jdbcType=INTEGER}, - related_status = #{record.relatedStatus,jdbcType=INTEGER}, - hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update pms_product_attribute - - - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - select_type = #{selectType,jdbcType=INTEGER}, - - - input_type = #{inputType,jdbcType=INTEGER}, - - - input_list = #{inputList,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - filter_type = #{filterType,jdbcType=INTEGER}, - - - search_type = #{searchType,jdbcType=INTEGER}, - - - related_status = #{relatedStatus,jdbcType=INTEGER}, - - - hand_add_status = #{handAddStatus,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute - set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - select_type = #{selectType,jdbcType=INTEGER}, - input_type = #{inputType,jdbcType=INTEGER}, - input_list = #{inputList,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - filter_type = #{filterType,jdbcType=INTEGER}, - search_type = #{searchType,jdbcType=INTEGER}, - related_status = #{relatedStatus,jdbcType=INTEGER}, - hand_add_status = #{handAddStatus,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_attribute_category_id, name, select_type, input_type, input_list, sort, - filter_type, search_type, related_status, hand_add_status, type - - - - - delete from pms_product_attribute - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute (product_attribute_category_id, name, - select_type, input_type, input_list, - sort, filter_type, search_type, - related_status, hand_add_status, type - ) - values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, - #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, - #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, - #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute - - - product_attribute_category_id, - - - name, - - - select_type, - - - input_type, - - - input_list, - - - sort, - - - filter_type, - - - search_type, - - - related_status, - - - hand_add_status, - - - type, - - - - - #{productAttributeCategoryId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{selectType,jdbcType=INTEGER}, - - - #{inputType,jdbcType=INTEGER}, - - - #{inputList,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{filterType,jdbcType=INTEGER}, - - - #{searchType,jdbcType=INTEGER}, - - - #{relatedStatus,jdbcType=INTEGER}, - - - #{handAddStatus,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update pms_product_attribute - - - id = #{record.id,jdbcType=BIGINT}, - - - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - select_type = #{record.selectType,jdbcType=INTEGER}, - - - input_type = #{record.inputType,jdbcType=INTEGER}, - - - input_list = #{record.inputList,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - filter_type = #{record.filterType,jdbcType=INTEGER}, - - - search_type = #{record.searchType,jdbcType=INTEGER}, - - - related_status = #{record.relatedStatus,jdbcType=INTEGER}, - - - hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute - set id = #{record.id,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - select_type = #{record.selectType,jdbcType=INTEGER}, - input_type = #{record.inputType,jdbcType=INTEGER}, - input_list = #{record.inputList,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - filter_type = #{record.filterType,jdbcType=INTEGER}, - search_type = #{record.searchType,jdbcType=INTEGER}, - related_status = #{record.relatedStatus,jdbcType=INTEGER}, - hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update pms_product_attribute - - - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - select_type = #{selectType,jdbcType=INTEGER}, - - - input_type = #{inputType,jdbcType=INTEGER}, - - - input_list = #{inputList,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - filter_type = #{filterType,jdbcType=INTEGER}, - - - search_type = #{searchType,jdbcType=INTEGER}, - - - related_status = #{relatedStatus,jdbcType=INTEGER}, - - - hand_add_status = #{handAddStatus,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute - set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - select_type = #{selectType,jdbcType=INTEGER}, - input_type = #{inputType,jdbcType=INTEGER}, - input_list = #{inputList,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - filter_type = #{filterType,jdbcType=INTEGER}, - search_type = #{searchType,jdbcType=INTEGER}, - related_status = #{relatedStatus,jdbcType=INTEGER}, - hand_add_status = #{handAddStatus,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml index 500cf2f..36738c5 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml @@ -3,8 +3,8 @@ - - + + @@ -66,7 +66,7 @@ - id, pms_product_id, pms_product_attribute_id, value + id, product_id, product_attribute_id, value - select - - distinct - - - from pms_product_attribute_value - - - - - order by ${orderByClause} - - - - - delete from pms_product_attribute_value - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute_value - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_value (pms_product_id, pms_product_attribute_id, - value) - values (#{pmsProductId,jdbcType=BIGINT}, #{pmsProductAttributeId,jdbcType=BIGINT}, - #{value,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_value - - - pms_product_id, - - - pms_product_attribute_id, - - - value, - - - - - #{pmsProductId,jdbcType=BIGINT}, - - - #{pmsProductAttributeId,jdbcType=BIGINT}, - - - #{value,jdbcType=VARCHAR}, - - - - - - update pms_product_attribute_value - - - id = #{record.id,jdbcType=BIGINT}, - - - pms_product_id = #{record.pmsProductId,jdbcType=BIGINT}, - - - pms_product_attribute_id = #{record.pmsProductAttributeId,jdbcType=BIGINT}, - - - value = #{record.value,jdbcType=VARCHAR}, - - - - - - - - update pms_product_attribute_value - set id = #{record.id,jdbcType=BIGINT}, - pms_product_id = #{record.pmsProductId,jdbcType=BIGINT}, - pms_product_attribute_id = #{record.pmsProductAttributeId,jdbcType=BIGINT}, - value = #{record.value,jdbcType=VARCHAR} - - - - - - update pms_product_attribute_value - - - pms_product_id = #{pmsProductId,jdbcType=BIGINT}, - - - pms_product_attribute_id = #{pmsProductAttributeId,jdbcType=BIGINT}, - - - value = #{value,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute_value - set pms_product_id = #{pmsProductId,jdbcType=BIGINT}, - pms_product_attribute_id = #{pmsProductAttributeId,jdbcType=BIGINT}, - value = #{value,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, pms_product_id, pms_product_attribute_id, value - - - - - delete from pms_product_attribute_value - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute_value - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_value (pms_product_id, pms_product_attribute_id, - value) - values (#{pmsProductId,jdbcType=BIGINT}, #{pmsProductAttributeId,jdbcType=BIGINT}, - #{value,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_value - - - pms_product_id, - - - pms_product_attribute_id, - - - value, - - - - - #{pmsProductId,jdbcType=BIGINT}, - - - #{pmsProductAttributeId,jdbcType=BIGINT}, - - - #{value,jdbcType=VARCHAR}, - - - - - - update pms_product_attribute_value - - - id = #{record.id,jdbcType=BIGINT}, - - - pms_product_id = #{record.pmsProductId,jdbcType=BIGINT}, - - - pms_product_attribute_id = #{record.pmsProductAttributeId,jdbcType=BIGINT}, - - - value = #{record.value,jdbcType=VARCHAR}, - - - - - - - - update pms_product_attribute_value - set id = #{record.id,jdbcType=BIGINT}, - pms_product_id = #{record.pmsProductId,jdbcType=BIGINT}, - pms_product_attribute_id = #{record.pmsProductAttributeId,jdbcType=BIGINT}, - value = #{record.value,jdbcType=VARCHAR} - - - - - - update pms_product_attribute_value - - - pms_product_id = #{pmsProductId,jdbcType=BIGINT}, - - - pms_product_attribute_id = #{pmsProductAttributeId,jdbcType=BIGINT}, - - - value = #{value,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute_value - set pms_product_id = #{pmsProductId,jdbcType=BIGINT}, - pms_product_attribute_id = #{pmsProductAttributeId,jdbcType=BIGINT}, + set product_id = #{productId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, value = #{value,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml index 0191591..b7238f7 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml @@ -178,358 +178,4 @@ product_attribute_id = #{productAttributeId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_category_id, product_attribute_id - - - - - delete from pms_product_category_attribute_relation - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_category_attribute_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id - ) - values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category_attribute_relation - - - product_category_id, - - - product_attribute_id, - - - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{productAttributeId,jdbcType=BIGINT}, - - - - - - update pms_product_category_attribute_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, - - - - - - - - update pms_product_category_attribute_relation - set id = #{record.id,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} - - - - - - update pms_product_category_attribute_relation - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category_attribute_relation - set product_category_id = #{productCategoryId,jdbcType=BIGINT}, - product_attribute_id = #{productAttributeId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_category_id, product_attribute_id - - - - - delete from pms_product_category_attribute_relation - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_category_attribute_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id - ) - values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category_attribute_relation - - - product_category_id, - - - product_attribute_id, - - - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{productAttributeId,jdbcType=BIGINT}, - - - - - - update pms_product_category_attribute_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, - - - - - - - - update pms_product_category_attribute_relation - set id = #{record.id,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} - - - - - - update pms_product_category_attribute_relation - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category_attribute_relation - set product_category_id = #{productCategoryId,jdbcType=BIGINT}, - product_attribute_id = #{productAttributeId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml index 4dc7482..158a2f3 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml @@ -372,746 +372,4 @@ keywords = #{keywords,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, parent_id, name, level, product_count, product_unit, nav_status, show_status, - sort, icon, keywords - - - description - - - - - - delete from pms_product_category - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category (parent_id, name, level, - product_count, product_unit, nav_status, - show_status, sort, icon, - keywords, description) - values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, - #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, - #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category - - - parent_id, - - - name, - - - level, - - - product_count, - - - product_unit, - - - nav_status, - - - show_status, - - - sort, - - - icon, - - - keywords, - - - description, - - - - - #{parentId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{level,jdbcType=INTEGER}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productUnit,jdbcType=VARCHAR}, - - - #{navStatus,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{icon,jdbcType=VARCHAR}, - - - #{keywords,jdbcType=VARCHAR}, - - - #{description,jdbcType=LONGVARCHAR}, - - - - - - update pms_product_category - - - id = #{record.id,jdbcType=BIGINT}, - - - parent_id = #{record.parentId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - level = #{record.level,jdbcType=INTEGER}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - - - nav_status = #{record.navStatus,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - keywords = #{record.keywords,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product_category - set id = #{record.id,jdbcType=BIGINT}, - parent_id = #{record.parentId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - level = #{record.level,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - nav_status = #{record.navStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - icon = #{record.icon,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=LONGVARCHAR} - - - - - - update pms_product_category - set id = #{record.id,jdbcType=BIGINT}, - parent_id = #{record.parentId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - level = #{record.level,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - nav_status = #{record.navStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - icon = #{record.icon,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR} - - - - - - update pms_product_category - - - parent_id = #{parentId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - level = #{level,jdbcType=INTEGER}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_unit = #{productUnit,jdbcType=VARCHAR}, - - - nav_status = #{navStatus,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - keywords = #{keywords,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category - set parent_id = #{parentId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_unit = #{productUnit,jdbcType=VARCHAR}, - nav_status = #{navStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - icon = #{icon,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - description = #{description,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category - set parent_id = #{parentId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_unit = #{productUnit,jdbcType=VARCHAR}, - nav_status = #{navStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - icon = #{icon,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, parent_id, name, level, product_count, product_unit, nav_status, show_status, - sort, icon, keywords - - - description - - - - - - delete from pms_product_category - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category (parent_id, name, level, - product_count, product_unit, nav_status, - show_status, sort, icon, - keywords, description) - values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, - #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, - #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category - - - parent_id, - - - name, - - - level, - - - product_count, - - - product_unit, - - - nav_status, - - - show_status, - - - sort, - - - icon, - - - keywords, - - - description, - - - - - #{parentId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{level,jdbcType=INTEGER}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productUnit,jdbcType=VARCHAR}, - - - #{navStatus,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{icon,jdbcType=VARCHAR}, - - - #{keywords,jdbcType=VARCHAR}, - - - #{description,jdbcType=LONGVARCHAR}, - - - - - - update pms_product_category - - - id = #{record.id,jdbcType=BIGINT}, - - - parent_id = #{record.parentId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - level = #{record.level,jdbcType=INTEGER}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - - - nav_status = #{record.navStatus,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - keywords = #{record.keywords,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product_category - set id = #{record.id,jdbcType=BIGINT}, - parent_id = #{record.parentId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - level = #{record.level,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - nav_status = #{record.navStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - icon = #{record.icon,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=LONGVARCHAR} - - - - - - update pms_product_category - set id = #{record.id,jdbcType=BIGINT}, - parent_id = #{record.parentId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - level = #{record.level,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - nav_status = #{record.navStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - icon = #{record.icon,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR} - - - - - - update pms_product_category - - - parent_id = #{parentId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - level = #{level,jdbcType=INTEGER}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_unit = #{productUnit,jdbcType=VARCHAR}, - - - nav_status = #{navStatus,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - keywords = #{keywords,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category - set parent_id = #{parentId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_unit = #{productUnit,jdbcType=VARCHAR}, - nav_status = #{navStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - icon = #{icon,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - description = #{description,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category - set parent_id = #{parentId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_unit = #{productUnit,jdbcType=VARCHAR}, - nav_status = #{navStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - icon = #{icon,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml index 8f4a8ad..ccd01fd 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml @@ -2,7 +2,7 @@ - + @@ -82,15 +82,15 @@ order by ${orderByClause} - select from pms_product_full_reduction - where id = #{id,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} - + delete from pms_product_full_reduction - where id = #{id,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} delete from pms_product_full_reduction @@ -99,7 +99,7 @@ - + SELECT LAST_INSERT_ID() insert into pms_product_full_reduction (product_id, full_price, reduce_price @@ -108,7 +108,7 @@ ) - + SELECT LAST_INSERT_ID() insert into pms_product_full_reduction @@ -145,7 +145,7 @@ update pms_product_full_reduction - id = #{record.id,jdbcType=INTEGER}, + id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, @@ -163,7 +163,7 @@ update pms_product_full_reduction - set id = #{record.id,jdbcType=INTEGER}, + set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, full_price = #{record.fullPrice,jdbcType=DECIMAL}, reduce_price = #{record.reducePrice,jdbcType=DECIMAL} @@ -184,397 +184,13 @@ reduce_price = #{reducePrice,jdbcType=DECIMAL}, - where id = #{id,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} update pms_product_full_reduction set product_id = #{productId,jdbcType=BIGINT}, full_price = #{fullPrice,jdbcType=DECIMAL}, reduce_price = #{reducePrice,jdbcType=DECIMAL} - where id = #{id,jdbcType=INTEGER} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, full_price, reduce_price - - - - - delete from pms_product_full_reduction - where id = #{id,jdbcType=INTEGER} - - - delete from pms_product_full_reduction - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_full_reduction (product_id, full_price, reduce_price - ) - values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_full_reduction - - - product_id, - - - full_price, - - - reduce_price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{fullPrice,jdbcType=DECIMAL}, - - - #{reducePrice,jdbcType=DECIMAL}, - - - - - - update pms_product_full_reduction - - - id = #{record.id,jdbcType=INTEGER}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - full_price = #{record.fullPrice,jdbcType=DECIMAL}, - - - reduce_price = #{record.reducePrice,jdbcType=DECIMAL}, - - - - - - - - update pms_product_full_reduction - set id = #{record.id,jdbcType=INTEGER}, - product_id = #{record.productId,jdbcType=BIGINT}, - full_price = #{record.fullPrice,jdbcType=DECIMAL}, - reduce_price = #{record.reducePrice,jdbcType=DECIMAL} - - - - - - update pms_product_full_reduction - - - product_id = #{productId,jdbcType=BIGINT}, - - - full_price = #{fullPrice,jdbcType=DECIMAL}, - - - reduce_price = #{reducePrice,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=INTEGER} - - - update pms_product_full_reduction - set product_id = #{productId,jdbcType=BIGINT}, - full_price = #{fullPrice,jdbcType=DECIMAL}, - reduce_price = #{reducePrice,jdbcType=DECIMAL} - where id = #{id,jdbcType=INTEGER} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, full_price, reduce_price - - - - - delete from pms_product_full_reduction - where id = #{id,jdbcType=INTEGER} - - - delete from pms_product_full_reduction - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_full_reduction (product_id, full_price, reduce_price - ) - values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_full_reduction - - - product_id, - - - full_price, - - - reduce_price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{fullPrice,jdbcType=DECIMAL}, - - - #{reducePrice,jdbcType=DECIMAL}, - - - - - - update pms_product_full_reduction - - - id = #{record.id,jdbcType=INTEGER}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - full_price = #{record.fullPrice,jdbcType=DECIMAL}, - - - reduce_price = #{record.reducePrice,jdbcType=DECIMAL}, - - - - - - - - update pms_product_full_reduction - set id = #{record.id,jdbcType=INTEGER}, - product_id = #{record.productId,jdbcType=BIGINT}, - full_price = #{record.fullPrice,jdbcType=DECIMAL}, - reduce_price = #{record.reducePrice,jdbcType=DECIMAL} - - - - - - update pms_product_full_reduction - - - product_id = #{productId,jdbcType=BIGINT}, - - - full_price = #{fullPrice,jdbcType=DECIMAL}, - - - reduce_price = #{reducePrice,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=INTEGER} - - - update pms_product_full_reduction - set product_id = #{productId,jdbcType=BIGINT}, - full_price = #{fullPrice,jdbcType=DECIMAL}, - reduce_price = #{reducePrice,jdbcType=DECIMAL} - where id = #{id,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml index 2aff421..f384098 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml @@ -208,418 +208,4 @@ price = #{price,jdbcType=DECIMAL} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, count, discount, price - - - - - delete from pms_product_ladder - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_ladder - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_ladder (product_id, count, discount, - price) - values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, - #{price,jdbcType=DECIMAL}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_ladder - - - product_id, - - - count, - - - discount, - - - price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{count,jdbcType=INTEGER}, - - - #{discount,jdbcType=DECIMAL}, - - - #{price,jdbcType=DECIMAL}, - - - - - - update pms_product_ladder - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - count = #{record.count,jdbcType=INTEGER}, - - - discount = #{record.discount,jdbcType=DECIMAL}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - - - - - - update pms_product_ladder - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - count = #{record.count,jdbcType=INTEGER}, - discount = #{record.discount,jdbcType=DECIMAL}, - price = #{record.price,jdbcType=DECIMAL} - - - - - - update pms_product_ladder - - - product_id = #{productId,jdbcType=BIGINT}, - - - count = #{count,jdbcType=INTEGER}, - - - discount = #{discount,jdbcType=DECIMAL}, - - - price = #{price,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_ladder - set product_id = #{productId,jdbcType=BIGINT}, - count = #{count,jdbcType=INTEGER}, - discount = #{discount,jdbcType=DECIMAL}, - price = #{price,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, count, discount, price - - - - - delete from pms_product_ladder - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_ladder - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_ladder (product_id, count, discount, - price) - values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, - #{price,jdbcType=DECIMAL}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_ladder - - - product_id, - - - count, - - - discount, - - - price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{count,jdbcType=INTEGER}, - - - #{discount,jdbcType=DECIMAL}, - - - #{price,jdbcType=DECIMAL}, - - - - - - update pms_product_ladder - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - count = #{record.count,jdbcType=INTEGER}, - - - discount = #{record.discount,jdbcType=DECIMAL}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - - - - - - update pms_product_ladder - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - count = #{record.count,jdbcType=INTEGER}, - discount = #{record.discount,jdbcType=DECIMAL}, - price = #{record.price,jdbcType=DECIMAL} - - - - - - update pms_product_ladder - - - product_id = #{productId,jdbcType=BIGINT}, - - - count = #{count,jdbcType=INTEGER}, - - - discount = #{discount,jdbcType=DECIMAL}, - - - price = #{price,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_ladder - set product_id = #{productId,jdbcType=BIGINT}, - count = #{count,jdbcType=INTEGER}, - discount = #{discount,jdbcType=DECIMAL}, - price = #{price,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml index 3d49462..6e7e7a6 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml @@ -922,1846 +922,4 @@ promotion_type = #{promotionType,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, - flash_promotion_id, name, pic, product_sn, delete_status, publish_status, new_status, - recommand_status, verify_status, sort, sale, price, promotion_price, gift_point, - use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status, - service_ids, keywords, note, album_pics, detail_title, flash_promotion_price, flash_promotion_count, - flash_promotion_sort, promotion_start_time, promotion_end_time, promotion_per_limit, - promotion_type - - - description, detail_desc, detail_html, detail_mobile_html - - - - - - delete from pms_product - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product (brand_id, product_category_id, feight_template_id, - product_attribute_category_id, flash_promotion_id, - name, pic, product_sn, - delete_status, publish_status, new_status, - recommand_status, verify_status, sort, - sale, price, promotion_price, - gift_point, use_point_limit, sub_title, - original_price, stock, low_stock, - unit, weight, preview_status, - service_ids, keywords, note, - album_pics, detail_title, flash_promotion_price, - flash_promotion_count, flash_promotion_sort, - promotion_start_time, promotion_end_time, - promotion_per_limit, promotion_type, description, - detail_desc, detail_html, detail_mobile_html - ) - values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, - #{productAttributeCategoryId,jdbcType=BIGINT}, #{flashPromotionId,jdbcType=INTEGER}, - #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR}, - #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, #{newStatus,jdbcType=INTEGER}, - #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, - #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{promotionPrice,jdbcType=DECIMAL}, - #{giftPoint,jdbcType=INTEGER}, #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, - #{originalPrice,jdbcType=DECIMAL}, #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, - #{unit,jdbcType=VARCHAR}, #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, - #{serviceIds,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, - #{albumPics,jdbcType=VARCHAR}, #{detailTitle,jdbcType=VARCHAR}, #{flashPromotionPrice,jdbcType=DECIMAL}, - #{flashPromotionCount,jdbcType=INTEGER}, #{flashPromotionSort,jdbcType=INTEGER}, - #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, - #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{description,jdbcType=LONGVARCHAR}, - #{detailDesc,jdbcType=LONGVARCHAR}, #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product - - - brand_id, - - - product_category_id, - - - feight_template_id, - - - product_attribute_category_id, - - - flash_promotion_id, - - - name, - - - pic, - - - product_sn, - - - delete_status, - - - publish_status, - - - new_status, - - - recommand_status, - - - verify_status, - - - sort, - - - sale, - - - price, - - - promotion_price, - - - gift_point, - - - use_point_limit, - - - sub_title, - - - original_price, - - - stock, - - - low_stock, - - - unit, - - - weight, - - - preview_status, - - - service_ids, - - - keywords, - - - note, - - - album_pics, - - - detail_title, - - - flash_promotion_price, - - - flash_promotion_count, - - - flash_promotion_sort, - - - promotion_start_time, - - - promotion_end_time, - - - promotion_per_limit, - - - promotion_type, - - - description, - - - detail_desc, - - - detail_html, - - - detail_mobile_html, - - - - - #{brandId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{feightTemplateId,jdbcType=BIGINT}, - - - #{productAttributeCategoryId,jdbcType=BIGINT}, - - - #{flashPromotionId,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - #{deleteStatus,jdbcType=INTEGER}, - - - #{publishStatus,jdbcType=INTEGER}, - - - #{newStatus,jdbcType=INTEGER}, - - - #{recommandStatus,jdbcType=INTEGER}, - - - #{verifyStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{sale,jdbcType=INTEGER}, - - - #{price,jdbcType=DECIMAL}, - - - #{promotionPrice,jdbcType=DECIMAL}, - - - #{giftPoint,jdbcType=INTEGER}, - - - #{usePointLimit,jdbcType=INTEGER}, - - - #{subTitle,jdbcType=VARCHAR}, - - - #{originalPrice,jdbcType=DECIMAL}, - - - #{stock,jdbcType=INTEGER}, - - - #{lowStock,jdbcType=INTEGER}, - - - #{unit,jdbcType=VARCHAR}, - - - #{weight,jdbcType=DECIMAL}, - - - #{previewStatus,jdbcType=INTEGER}, - - - #{serviceIds,jdbcType=VARCHAR}, - - - #{keywords,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{albumPics,jdbcType=VARCHAR}, - - - #{detailTitle,jdbcType=VARCHAR}, - - - #{flashPromotionPrice,jdbcType=DECIMAL}, - - - #{flashPromotionCount,jdbcType=INTEGER}, - - - #{flashPromotionSort,jdbcType=INTEGER}, - - - #{promotionStartTime,jdbcType=TIMESTAMP}, - - - #{promotionEndTime,jdbcType=TIMESTAMP}, - - - #{promotionPerLimit,jdbcType=INTEGER}, - - - #{promotionType,jdbcType=INTEGER}, - - - #{description,jdbcType=LONGVARCHAR}, - - - #{detailDesc,jdbcType=LONGVARCHAR}, - - - #{detailHtml,jdbcType=LONGVARCHAR}, - - - #{detailMobileHtml,jdbcType=LONGVARCHAR}, - - - - - - update pms_product - - - id = #{record.id,jdbcType=BIGINT}, - - - brand_id = #{record.brandId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - - - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - - - flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - - - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - - - new_status = #{record.newStatus,jdbcType=INTEGER}, - - - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - - - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - sale = #{record.sale,jdbcType=INTEGER}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - - - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - - - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - - - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - - - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - - - stock = #{record.stock,jdbcType=INTEGER}, - - - low_stock = #{record.lowStock,jdbcType=INTEGER}, - - - unit = #{record.unit,jdbcType=VARCHAR}, - - - weight = #{record.weight,jdbcType=DECIMAL}, - - - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - - - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - - - keywords = #{record.keywords,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - - - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - - - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - - - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - - - flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, - - - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - - - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - - - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - - - promotion_type = #{record.promotionType,jdbcType=INTEGER}, - - - description = #{record.description,jdbcType=LONGVARCHAR}, - - - detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, - - - detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, - - - detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - new_status = #{record.newStatus,jdbcType=INTEGER}, - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - sale = #{record.sale,jdbcType=INTEGER}, - price = #{record.price,jdbcType=DECIMAL}, - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - unit = #{record.unit,jdbcType=VARCHAR}, - weight = #{record.weight,jdbcType=DECIMAL}, - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{record.promotionType,jdbcType=INTEGER}, - description = #{record.description,jdbcType=LONGVARCHAR}, - detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, - detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, - detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR} - - - - - - update pms_product - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - new_status = #{record.newStatus,jdbcType=INTEGER}, - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - sale = #{record.sale,jdbcType=INTEGER}, - price = #{record.price,jdbcType=DECIMAL}, - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - unit = #{record.unit,jdbcType=VARCHAR}, - weight = #{record.weight,jdbcType=DECIMAL}, - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{record.promotionType,jdbcType=INTEGER} - - - - - - update pms_product - - - brand_id = #{brandId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - - - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - - - flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - delete_status = #{deleteStatus,jdbcType=INTEGER}, - - - publish_status = #{publishStatus,jdbcType=INTEGER}, - - - new_status = #{newStatus,jdbcType=INTEGER}, - - - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - - - verify_status = #{verifyStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - sale = #{sale,jdbcType=INTEGER}, - - - price = #{price,jdbcType=DECIMAL}, - - - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - - - gift_point = #{giftPoint,jdbcType=INTEGER}, - - - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - - - sub_title = #{subTitle,jdbcType=VARCHAR}, - - - original_price = #{originalPrice,jdbcType=DECIMAL}, - - - stock = #{stock,jdbcType=INTEGER}, - - - low_stock = #{lowStock,jdbcType=INTEGER}, - - - unit = #{unit,jdbcType=VARCHAR}, - - - weight = #{weight,jdbcType=DECIMAL}, - - - preview_status = #{previewStatus,jdbcType=INTEGER}, - - - service_ids = #{serviceIds,jdbcType=VARCHAR}, - - - keywords = #{keywords,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - album_pics = #{albumPics,jdbcType=VARCHAR}, - - - detail_title = #{detailTitle,jdbcType=VARCHAR}, - - - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - - - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - - - flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, - - - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - - - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - - - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - - - promotion_type = #{promotionType,jdbcType=INTEGER}, - - - description = #{description,jdbcType=LONGVARCHAR}, - - - detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, - - - detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, - - - detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product - set brand_id = #{brandId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - publish_status = #{publishStatus,jdbcType=INTEGER}, - new_status = #{newStatus,jdbcType=INTEGER}, - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - verify_status = #{verifyStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - sale = #{sale,jdbcType=INTEGER}, - price = #{price,jdbcType=DECIMAL}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - gift_point = #{giftPoint,jdbcType=INTEGER}, - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - original_price = #{originalPrice,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - unit = #{unit,jdbcType=VARCHAR}, - weight = #{weight,jdbcType=DECIMAL}, - preview_status = #{previewStatus,jdbcType=INTEGER}, - service_ids = #{serviceIds,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - detail_title = #{detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{promotionType,jdbcType=INTEGER}, - description = #{description,jdbcType=LONGVARCHAR}, - detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, - detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, - detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_product - set brand_id = #{brandId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - publish_status = #{publishStatus,jdbcType=INTEGER}, - new_status = #{newStatus,jdbcType=INTEGER}, - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - verify_status = #{verifyStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - sale = #{sale,jdbcType=INTEGER}, - price = #{price,jdbcType=DECIMAL}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - gift_point = #{giftPoint,jdbcType=INTEGER}, - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - original_price = #{originalPrice,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - unit = #{unit,jdbcType=VARCHAR}, - weight = #{weight,jdbcType=DECIMAL}, - preview_status = #{previewStatus,jdbcType=INTEGER}, - service_ids = #{serviceIds,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - detail_title = #{detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{promotionType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, - flash_promotion_id, name, pic, product_sn, delete_status, publish_status, new_status, - recommand_status, verify_status, sort, sale, price, promotion_price, gift_point, - use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status, - service_ids, keywords, note, album_pics, detail_title, flash_promotion_price, flash_promotion_count, - flash_promotion_sort, promotion_start_time, promotion_end_time, promotion_per_limit, - promotion_type - - - description, detail_desc, detail_html, detail_mobile_html - - - - - - delete from pms_product - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product (brand_id, product_category_id, feight_template_id, - product_attribute_category_id, flash_promotion_id, - name, pic, product_sn, - delete_status, publish_status, new_status, - recommand_status, verify_status, sort, - sale, price, promotion_price, - gift_point, use_point_limit, sub_title, - original_price, stock, low_stock, - unit, weight, preview_status, - service_ids, keywords, note, - album_pics, detail_title, flash_promotion_price, - flash_promotion_count, flash_promotion_sort, - promotion_start_time, promotion_end_time, - promotion_per_limit, promotion_type, description, - detail_desc, detail_html, detail_mobile_html - ) - values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, - #{productAttributeCategoryId,jdbcType=BIGINT}, #{flashPromotionId,jdbcType=INTEGER}, - #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR}, - #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, #{newStatus,jdbcType=INTEGER}, - #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, - #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{promotionPrice,jdbcType=DECIMAL}, - #{giftPoint,jdbcType=INTEGER}, #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, - #{originalPrice,jdbcType=DECIMAL}, #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, - #{unit,jdbcType=VARCHAR}, #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, - #{serviceIds,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, - #{albumPics,jdbcType=VARCHAR}, #{detailTitle,jdbcType=VARCHAR}, #{flashPromotionPrice,jdbcType=DECIMAL}, - #{flashPromotionCount,jdbcType=INTEGER}, #{flashPromotionSort,jdbcType=INTEGER}, - #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, - #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{description,jdbcType=LONGVARCHAR}, - #{detailDesc,jdbcType=LONGVARCHAR}, #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product - - - brand_id, - - - product_category_id, - - - feight_template_id, - - - product_attribute_category_id, - - - flash_promotion_id, - - - name, - - - pic, - - - product_sn, - - - delete_status, - - - publish_status, - - - new_status, - - - recommand_status, - - - verify_status, - - - sort, - - - sale, - - - price, - - - promotion_price, - - - gift_point, - - - use_point_limit, - - - sub_title, - - - original_price, - - - stock, - - - low_stock, - - - unit, - - - weight, - - - preview_status, - - - service_ids, - - - keywords, - - - note, - - - album_pics, - - - detail_title, - - - flash_promotion_price, - - - flash_promotion_count, - - - flash_promotion_sort, - - - promotion_start_time, - - - promotion_end_time, - - - promotion_per_limit, - - - promotion_type, - - - description, - - - detail_desc, - - - detail_html, - - - detail_mobile_html, - - - - - #{brandId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{feightTemplateId,jdbcType=BIGINT}, - - - #{productAttributeCategoryId,jdbcType=BIGINT}, - - - #{flashPromotionId,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - #{deleteStatus,jdbcType=INTEGER}, - - - #{publishStatus,jdbcType=INTEGER}, - - - #{newStatus,jdbcType=INTEGER}, - - - #{recommandStatus,jdbcType=INTEGER}, - - - #{verifyStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{sale,jdbcType=INTEGER}, - - - #{price,jdbcType=DECIMAL}, - - - #{promotionPrice,jdbcType=DECIMAL}, - - - #{giftPoint,jdbcType=INTEGER}, - - - #{usePointLimit,jdbcType=INTEGER}, - - - #{subTitle,jdbcType=VARCHAR}, - - - #{originalPrice,jdbcType=DECIMAL}, - - - #{stock,jdbcType=INTEGER}, - - - #{lowStock,jdbcType=INTEGER}, - - - #{unit,jdbcType=VARCHAR}, - - - #{weight,jdbcType=DECIMAL}, - - - #{previewStatus,jdbcType=INTEGER}, - - - #{serviceIds,jdbcType=VARCHAR}, - - - #{keywords,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{albumPics,jdbcType=VARCHAR}, - - - #{detailTitle,jdbcType=VARCHAR}, - - - #{flashPromotionPrice,jdbcType=DECIMAL}, - - - #{flashPromotionCount,jdbcType=INTEGER}, - - - #{flashPromotionSort,jdbcType=INTEGER}, - - - #{promotionStartTime,jdbcType=TIMESTAMP}, - - - #{promotionEndTime,jdbcType=TIMESTAMP}, - - - #{promotionPerLimit,jdbcType=INTEGER}, - - - #{promotionType,jdbcType=INTEGER}, - - - #{description,jdbcType=LONGVARCHAR}, - - - #{detailDesc,jdbcType=LONGVARCHAR}, - - - #{detailHtml,jdbcType=LONGVARCHAR}, - - - #{detailMobileHtml,jdbcType=LONGVARCHAR}, - - - - - - update pms_product - - - id = #{record.id,jdbcType=BIGINT}, - - - brand_id = #{record.brandId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - - - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - - - flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - - - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - - - new_status = #{record.newStatus,jdbcType=INTEGER}, - - - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - - - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - sale = #{record.sale,jdbcType=INTEGER}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - - - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - - - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - - - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - - - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - - - stock = #{record.stock,jdbcType=INTEGER}, - - - low_stock = #{record.lowStock,jdbcType=INTEGER}, - - - unit = #{record.unit,jdbcType=VARCHAR}, - - - weight = #{record.weight,jdbcType=DECIMAL}, - - - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - - - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - - - keywords = #{record.keywords,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - - - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - - - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - - - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - - - flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, - - - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - - - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - - - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - - - promotion_type = #{record.promotionType,jdbcType=INTEGER}, - - - description = #{record.description,jdbcType=LONGVARCHAR}, - - - detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, - - - detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, - - - detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - new_status = #{record.newStatus,jdbcType=INTEGER}, - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - sale = #{record.sale,jdbcType=INTEGER}, - price = #{record.price,jdbcType=DECIMAL}, - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - unit = #{record.unit,jdbcType=VARCHAR}, - weight = #{record.weight,jdbcType=DECIMAL}, - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{record.promotionType,jdbcType=INTEGER}, - description = #{record.description,jdbcType=LONGVARCHAR}, - detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, - detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, - detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR} - - - - - - update pms_product - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - new_status = #{record.newStatus,jdbcType=INTEGER}, - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - sale = #{record.sale,jdbcType=INTEGER}, - price = #{record.price,jdbcType=DECIMAL}, - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - unit = #{record.unit,jdbcType=VARCHAR}, - weight = #{record.weight,jdbcType=DECIMAL}, - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{record.promotionType,jdbcType=INTEGER} - - - - - - update pms_product - - - brand_id = #{brandId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - - - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - - - flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - delete_status = #{deleteStatus,jdbcType=INTEGER}, - - - publish_status = #{publishStatus,jdbcType=INTEGER}, - - - new_status = #{newStatus,jdbcType=INTEGER}, - - - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - - - verify_status = #{verifyStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - sale = #{sale,jdbcType=INTEGER}, - - - price = #{price,jdbcType=DECIMAL}, - - - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - - - gift_point = #{giftPoint,jdbcType=INTEGER}, - - - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - - - sub_title = #{subTitle,jdbcType=VARCHAR}, - - - original_price = #{originalPrice,jdbcType=DECIMAL}, - - - stock = #{stock,jdbcType=INTEGER}, - - - low_stock = #{lowStock,jdbcType=INTEGER}, - - - unit = #{unit,jdbcType=VARCHAR}, - - - weight = #{weight,jdbcType=DECIMAL}, - - - preview_status = #{previewStatus,jdbcType=INTEGER}, - - - service_ids = #{serviceIds,jdbcType=VARCHAR}, - - - keywords = #{keywords,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - album_pics = #{albumPics,jdbcType=VARCHAR}, - - - detail_title = #{detailTitle,jdbcType=VARCHAR}, - - - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - - - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - - - flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, - - - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - - - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - - - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - - - promotion_type = #{promotionType,jdbcType=INTEGER}, - - - description = #{description,jdbcType=LONGVARCHAR}, - - - detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, - - - detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, - - - detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product - set brand_id = #{brandId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - publish_status = #{publishStatus,jdbcType=INTEGER}, - new_status = #{newStatus,jdbcType=INTEGER}, - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - verify_status = #{verifyStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - sale = #{sale,jdbcType=INTEGER}, - price = #{price,jdbcType=DECIMAL}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - gift_point = #{giftPoint,jdbcType=INTEGER}, - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - original_price = #{originalPrice,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - unit = #{unit,jdbcType=VARCHAR}, - weight = #{weight,jdbcType=DECIMAL}, - preview_status = #{previewStatus,jdbcType=INTEGER}, - service_ids = #{serviceIds,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - detail_title = #{detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{promotionType,jdbcType=INTEGER}, - description = #{description,jdbcType=LONGVARCHAR}, - detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, - detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, - detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_product - set brand_id = #{brandId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - publish_status = #{publishStatus,jdbcType=INTEGER}, - new_status = #{newStatus,jdbcType=INTEGER}, - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - verify_status = #{verifyStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - sale = #{sale,jdbcType=INTEGER}, - price = #{price,jdbcType=DECIMAL}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - gift_point = #{giftPoint,jdbcType=INTEGER}, - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - original_price = #{originalPrice,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - unit = #{unit,jdbcType=VARCHAR}, - weight = #{weight,jdbcType=DECIMAL}, - preview_status = #{previewStatus,jdbcType=INTEGER}, - service_ids = #{serviceIds,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - detail_title = #{detailTitle,jdbcType=VARCHAR}, - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{promotionType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml index da4cb7f..0e29be1 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml @@ -318,638 +318,4 @@ create_time = #{createTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, - gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time - - - - - delete from pms_product_operate_log - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_operate_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_operate_log (product_id, price_old, price_new, - sale_price_old, sale_price_new, gift_point_old, - gift_point_new, use_point_limit_old, use_point_limit_new, - operate_man, create_time) - values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, - #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, - #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, - #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_operate_log - - - product_id, - - - price_old, - - - price_new, - - - sale_price_old, - - - sale_price_new, - - - gift_point_old, - - - gift_point_new, - - - use_point_limit_old, - - - use_point_limit_new, - - - operate_man, - - - create_time, - - - - - #{productId,jdbcType=BIGINT}, - - - #{priceOld,jdbcType=DECIMAL}, - - - #{priceNew,jdbcType=DECIMAL}, - - - #{salePriceOld,jdbcType=DECIMAL}, - - - #{salePriceNew,jdbcType=DECIMAL}, - - - #{giftPointOld,jdbcType=INTEGER}, - - - #{giftPointNew,jdbcType=INTEGER}, - - - #{usePointLimitOld,jdbcType=INTEGER}, - - - #{usePointLimitNew,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - - - - update pms_product_operate_log - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - price_old = #{record.priceOld,jdbcType=DECIMAL}, - - - price_new = #{record.priceNew,jdbcType=DECIMAL}, - - - sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, - - - sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, - - - gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, - - - gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, - - - use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, - - - use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update pms_product_operate_log - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - price_old = #{record.priceOld,jdbcType=DECIMAL}, - price_new = #{record.priceNew,jdbcType=DECIMAL}, - sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, - sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, - gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, - gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, - use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, - use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP} - - - - - - update pms_product_operate_log - - - product_id = #{productId,jdbcType=BIGINT}, - - - price_old = #{priceOld,jdbcType=DECIMAL}, - - - price_new = #{priceNew,jdbcType=DECIMAL}, - - - sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, - - - sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, - - - gift_point_old = #{giftPointOld,jdbcType=INTEGER}, - - - gift_point_new = #{giftPointNew,jdbcType=INTEGER}, - - - use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, - - - use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_operate_log - set product_id = #{productId,jdbcType=BIGINT}, - price_old = #{priceOld,jdbcType=DECIMAL}, - price_new = #{priceNew,jdbcType=DECIMAL}, - sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, - sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, - gift_point_old = #{giftPointOld,jdbcType=INTEGER}, - gift_point_new = #{giftPointNew,jdbcType=INTEGER}, - use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, - use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, - gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time - - - - - delete from pms_product_operate_log - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_operate_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_operate_log (product_id, price_old, price_new, - sale_price_old, sale_price_new, gift_point_old, - gift_point_new, use_point_limit_old, use_point_limit_new, - operate_man, create_time) - values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, - #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, - #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, - #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_operate_log - - - product_id, - - - price_old, - - - price_new, - - - sale_price_old, - - - sale_price_new, - - - gift_point_old, - - - gift_point_new, - - - use_point_limit_old, - - - use_point_limit_new, - - - operate_man, - - - create_time, - - - - - #{productId,jdbcType=BIGINT}, - - - #{priceOld,jdbcType=DECIMAL}, - - - #{priceNew,jdbcType=DECIMAL}, - - - #{salePriceOld,jdbcType=DECIMAL}, - - - #{salePriceNew,jdbcType=DECIMAL}, - - - #{giftPointOld,jdbcType=INTEGER}, - - - #{giftPointNew,jdbcType=INTEGER}, - - - #{usePointLimitOld,jdbcType=INTEGER}, - - - #{usePointLimitNew,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - - - - update pms_product_operate_log - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - price_old = #{record.priceOld,jdbcType=DECIMAL}, - - - price_new = #{record.priceNew,jdbcType=DECIMAL}, - - - sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, - - - sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, - - - gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, - - - gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, - - - use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, - - - use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update pms_product_operate_log - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - price_old = #{record.priceOld,jdbcType=DECIMAL}, - price_new = #{record.priceNew,jdbcType=DECIMAL}, - sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, - sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, - gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, - gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, - use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, - use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP} - - - - - - update pms_product_operate_log - - - product_id = #{productId,jdbcType=BIGINT}, - - - price_old = #{priceOld,jdbcType=DECIMAL}, - - - price_new = #{priceNew,jdbcType=DECIMAL}, - - - sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, - - - sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, - - - gift_point_old = #{giftPointOld,jdbcType=INTEGER}, - - - gift_point_new = #{giftPointNew,jdbcType=INTEGER}, - - - use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, - - - use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_operate_log - set product_id = #{productId,jdbcType=BIGINT}, - price_old = #{priceOld,jdbcType=DECIMAL}, - price_new = #{priceNew,jdbcType=DECIMAL}, - sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, - sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, - gift_point_old = #{giftPointOld,jdbcType=INTEGER}, - gift_point_new = #{giftPointNew,jdbcType=INTEGER}, - use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, - use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml index ec259b0..1639662 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml @@ -223,448 +223,4 @@ detail = #{detail,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, create_time, vertify_man, status, detail - - - - - delete from pms_product_vertify_record - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_vertify_record - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_vertify_record (product_id, create_time, vertify_man, - status, detail) - values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, - #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_vertify_record - - - product_id, - - - create_time, - - - vertify_man, - - - status, - - - detail, - - - - - #{productId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{vertifyMan,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{detail,jdbcType=VARCHAR}, - - - - - - update pms_product_vertify_record - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - detail = #{record.detail,jdbcType=VARCHAR}, - - - - - - - - update pms_product_vertify_record - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - detail = #{record.detail,jdbcType=VARCHAR} - - - - - - update pms_product_vertify_record - - - product_id = #{productId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - vertify_man = #{vertifyMan,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - detail = #{detail,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_vertify_record - set product_id = #{productId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - vertify_man = #{vertifyMan,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - detail = #{detail,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, create_time, vertify_man, status, detail - - - - - delete from pms_product_vertify_record - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_vertify_record - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_vertify_record (product_id, create_time, vertify_man, - status, detail) - values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, - #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_vertify_record - - - product_id, - - - create_time, - - - vertify_man, - - - status, - - - detail, - - - - - #{productId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{vertifyMan,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{detail,jdbcType=VARCHAR}, - - - - - - update pms_product_vertify_record - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - detail = #{record.detail,jdbcType=VARCHAR}, - - - - - - - - update pms_product_vertify_record - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - detail = #{record.detail,jdbcType=VARCHAR} - - - - - - update pms_product_vertify_record - - - product_id = #{productId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - vertify_man = #{vertifyMan,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - detail = #{detail,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_vertify_record - set product_id = #{productId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - vertify_man = #{vertifyMan,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - detail = #{detail,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml index 4b2874a..9a9235a 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml @@ -302,606 +302,4 @@ sale = #{sale,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale - - - - - delete from pms_sku_stock - where id = #{id,jdbcType=BIGINT} - - - delete from pms_sku_stock - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_sku_stock (product_id, sku_code, price, - stock, low_stock, sp1, - sp2, sp3, pic, sale - ) - values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, - #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{sp1,jdbcType=VARCHAR}, - #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{sale,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_sku_stock - - - product_id, - - - sku_code, - - - price, - - - stock, - - - low_stock, - - - sp1, - - - sp2, - - - sp3, - - - pic, - - - sale, - - - - - #{productId,jdbcType=BIGINT}, - - - #{skuCode,jdbcType=VARCHAR}, - - - #{price,jdbcType=DECIMAL}, - - - #{stock,jdbcType=INTEGER}, - - - #{lowStock,jdbcType=INTEGER}, - - - #{sp1,jdbcType=VARCHAR}, - - - #{sp2,jdbcType=VARCHAR}, - - - #{sp3,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{sale,jdbcType=INTEGER}, - - - - - - update pms_sku_stock - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - sku_code = #{record.skuCode,jdbcType=VARCHAR}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - stock = #{record.stock,jdbcType=INTEGER}, - - - low_stock = #{record.lowStock,jdbcType=INTEGER}, - - - sp1 = #{record.sp1,jdbcType=VARCHAR}, - - - sp2 = #{record.sp2,jdbcType=VARCHAR}, - - - sp3 = #{record.sp3,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - sale = #{record.sale,jdbcType=INTEGER}, - - - - - - - - update pms_sku_stock - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - sku_code = #{record.skuCode,jdbcType=VARCHAR}, - price = #{record.price,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - sp1 = #{record.sp1,jdbcType=VARCHAR}, - sp2 = #{record.sp2,jdbcType=VARCHAR}, - sp3 = #{record.sp3,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - sale = #{record.sale,jdbcType=INTEGER} - - - - - - update pms_sku_stock - - - product_id = #{productId,jdbcType=BIGINT}, - - - sku_code = #{skuCode,jdbcType=VARCHAR}, - - - price = #{price,jdbcType=DECIMAL}, - - - stock = #{stock,jdbcType=INTEGER}, - - - low_stock = #{lowStock,jdbcType=INTEGER}, - - - sp1 = #{sp1,jdbcType=VARCHAR}, - - - sp2 = #{sp2,jdbcType=VARCHAR}, - - - sp3 = #{sp3,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - sale = #{sale,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_sku_stock - set product_id = #{productId,jdbcType=BIGINT}, - sku_code = #{skuCode,jdbcType=VARCHAR}, - price = #{price,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - sp1 = #{sp1,jdbcType=VARCHAR}, - sp2 = #{sp2,jdbcType=VARCHAR}, - sp3 = #{sp3,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - sale = #{sale,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale - - - - - delete from pms_sku_stock - where id = #{id,jdbcType=BIGINT} - - - delete from pms_sku_stock - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_sku_stock (product_id, sku_code, price, - stock, low_stock, sp1, - sp2, sp3, pic, sale - ) - values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, - #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{sp1,jdbcType=VARCHAR}, - #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{sale,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_sku_stock - - - product_id, - - - sku_code, - - - price, - - - stock, - - - low_stock, - - - sp1, - - - sp2, - - - sp3, - - - pic, - - - sale, - - - - - #{productId,jdbcType=BIGINT}, - - - #{skuCode,jdbcType=VARCHAR}, - - - #{price,jdbcType=DECIMAL}, - - - #{stock,jdbcType=INTEGER}, - - - #{lowStock,jdbcType=INTEGER}, - - - #{sp1,jdbcType=VARCHAR}, - - - #{sp2,jdbcType=VARCHAR}, - - - #{sp3,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{sale,jdbcType=INTEGER}, - - - - - - update pms_sku_stock - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - sku_code = #{record.skuCode,jdbcType=VARCHAR}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - stock = #{record.stock,jdbcType=INTEGER}, - - - low_stock = #{record.lowStock,jdbcType=INTEGER}, - - - sp1 = #{record.sp1,jdbcType=VARCHAR}, - - - sp2 = #{record.sp2,jdbcType=VARCHAR}, - - - sp3 = #{record.sp3,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - sale = #{record.sale,jdbcType=INTEGER}, - - - - - - - - update pms_sku_stock - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - sku_code = #{record.skuCode,jdbcType=VARCHAR}, - price = #{record.price,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - sp1 = #{record.sp1,jdbcType=VARCHAR}, - sp2 = #{record.sp2,jdbcType=VARCHAR}, - sp3 = #{record.sp3,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - sale = #{record.sale,jdbcType=INTEGER} - - - - - - update pms_sku_stock - - - product_id = #{productId,jdbcType=BIGINT}, - - - sku_code = #{skuCode,jdbcType=VARCHAR}, - - - price = #{price,jdbcType=DECIMAL}, - - - stock = #{stock,jdbcType=INTEGER}, - - - low_stock = #{lowStock,jdbcType=INTEGER}, - - - sp1 = #{sp1,jdbcType=VARCHAR}, - - - sp2 = #{sp2,jdbcType=VARCHAR}, - - - sp3 = #{sp3,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - sale = #{sale,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_sku_stock - set product_id = #{productId,jdbcType=BIGINT}, - sku_code = #{skuCode,jdbcType=VARCHAR}, - price = #{price,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - sp1 = #{sp1,jdbcType=VARCHAR}, - sp2 = #{sp2,jdbcType=VARCHAR}, - sp3 = #{sp3,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - sale = #{sale,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml index 0967a35..0f5e31d 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml @@ -288,578 +288,4 @@ order_id = #{orderId,jdbcType=CHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, - use_time, order_id - - - - - delete from sms_coupon_history - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_history (coupon_id, member_id, coupon_code, - member_nickname, get_type, create_time, - use_status, use_time, order_id - ) - values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, - #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=CHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_history - - - coupon_id, - - - member_id, - - - coupon_code, - - - member_nickname, - - - get_type, - - - create_time, - - - use_status, - - - use_time, - - - order_id, - - - - - #{couponId,jdbcType=BIGINT}, - - - #{memberId,jdbcType=BIGINT}, - - - #{couponCode,jdbcType=VARCHAR}, - - - #{memberNickname,jdbcType=VARCHAR}, - - - #{getType,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{useStatus,jdbcType=INTEGER}, - - - #{useTime,jdbcType=TIMESTAMP}, - - - #{orderId,jdbcType=CHAR}, - - - - - - update sms_coupon_history - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - coupon_code = #{record.couponCode,jdbcType=VARCHAR}, - - - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - - - get_type = #{record.getType,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - use_status = #{record.useStatus,jdbcType=INTEGER}, - - - use_time = #{record.useTime,jdbcType=TIMESTAMP}, - - - order_id = #{record.orderId,jdbcType=CHAR}, - - - - - - - - update sms_coupon_history - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - coupon_code = #{record.couponCode,jdbcType=VARCHAR}, - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - get_type = #{record.getType,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - use_status = #{record.useStatus,jdbcType=INTEGER}, - use_time = #{record.useTime,jdbcType=TIMESTAMP}, - order_id = #{record.orderId,jdbcType=CHAR} - - - - - - update sms_coupon_history - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - member_id = #{memberId,jdbcType=BIGINT}, - - - coupon_code = #{couponCode,jdbcType=VARCHAR}, - - - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - - - get_type = #{getType,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - use_status = #{useStatus,jdbcType=INTEGER}, - - - use_time = #{useTime,jdbcType=TIMESTAMP}, - - - order_id = #{orderId,jdbcType=CHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_history - set coupon_id = #{couponId,jdbcType=BIGINT}, - member_id = #{memberId,jdbcType=BIGINT}, - coupon_code = #{couponCode,jdbcType=VARCHAR}, - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - get_type = #{getType,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - use_status = #{useStatus,jdbcType=INTEGER}, - use_time = #{useTime,jdbcType=TIMESTAMP}, - order_id = #{orderId,jdbcType=CHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, - use_time, order_id - - - - - delete from sms_coupon_history - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_history (coupon_id, member_id, coupon_code, - member_nickname, get_type, create_time, - use_status, use_time, order_id - ) - values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, - #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=CHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_history - - - coupon_id, - - - member_id, - - - coupon_code, - - - member_nickname, - - - get_type, - - - create_time, - - - use_status, - - - use_time, - - - order_id, - - - - - #{couponId,jdbcType=BIGINT}, - - - #{memberId,jdbcType=BIGINT}, - - - #{couponCode,jdbcType=VARCHAR}, - - - #{memberNickname,jdbcType=VARCHAR}, - - - #{getType,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{useStatus,jdbcType=INTEGER}, - - - #{useTime,jdbcType=TIMESTAMP}, - - - #{orderId,jdbcType=CHAR}, - - - - - - update sms_coupon_history - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - coupon_code = #{record.couponCode,jdbcType=VARCHAR}, - - - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - - - get_type = #{record.getType,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - use_status = #{record.useStatus,jdbcType=INTEGER}, - - - use_time = #{record.useTime,jdbcType=TIMESTAMP}, - - - order_id = #{record.orderId,jdbcType=CHAR}, - - - - - - - - update sms_coupon_history - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - coupon_code = #{record.couponCode,jdbcType=VARCHAR}, - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - get_type = #{record.getType,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - use_status = #{record.useStatus,jdbcType=INTEGER}, - use_time = #{record.useTime,jdbcType=TIMESTAMP}, - order_id = #{record.orderId,jdbcType=CHAR} - - - - - - update sms_coupon_history - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - member_id = #{memberId,jdbcType=BIGINT}, - - - coupon_code = #{couponCode,jdbcType=VARCHAR}, - - - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - - - get_type = #{getType,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - use_status = #{useStatus,jdbcType=INTEGER}, - - - use_time = #{useTime,jdbcType=TIMESTAMP}, - - - order_id = #{orderId,jdbcType=CHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_history - set coupon_id = #{couponId,jdbcType=BIGINT}, - member_id = #{memberId,jdbcType=BIGINT}, - coupon_code = #{couponCode,jdbcType=VARCHAR}, - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - get_type = #{getType,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - use_status = #{useStatus,jdbcType=INTEGER}, - use_time = #{useTime,jdbcType=TIMESTAMP}, - order_id = #{orderId,jdbcType=CHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml index 5f26303..45891cc 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml @@ -397,796 +397,4 @@ member_level = #{memberLevel,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time, - use_type, note, publish_count, use_count, enable_time, code, member_level - - - - - delete from sms_coupon - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon (type, name, platform, - count, amount, per_limit, - min_point, start_time, end_time, - use_type, note, publish_count, - use_count, enable_time, code, - member_level) - values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=VARCHAR}, - #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, - #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, - #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, - #{useCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, #{code,jdbcType=VARCHAR}, - #{memberLevel,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon - - - type, - - - name, - - - platform, - - - count, - - - amount, - - - per_limit, - - - min_point, - - - start_time, - - - end_time, - - - use_type, - - - note, - - - publish_count, - - - use_count, - - - enable_time, - - - code, - - - member_level, - - - - - #{type,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{platform,jdbcType=VARCHAR}, - - - #{count,jdbcType=INTEGER}, - - - #{amount,jdbcType=DECIMAL}, - - - #{perLimit,jdbcType=INTEGER}, - - - #{minPoint,jdbcType=DECIMAL}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{useType,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - #{publishCount,jdbcType=INTEGER}, - - - #{useCount,jdbcType=INTEGER}, - - - #{enableTime,jdbcType=TIMESTAMP}, - - - #{code,jdbcType=VARCHAR}, - - - #{memberLevel,jdbcType=INTEGER}, - - - - - - update sms_coupon - - - id = #{record.id,jdbcType=BIGINT}, - - - type = #{record.type,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - platform = #{record.platform,jdbcType=VARCHAR}, - - - count = #{record.count,jdbcType=INTEGER}, - - - amount = #{record.amount,jdbcType=DECIMAL}, - - - per_limit = #{record.perLimit,jdbcType=INTEGER}, - - - min_point = #{record.minPoint,jdbcType=DECIMAL}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - use_type = #{record.useType,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - publish_count = #{record.publishCount,jdbcType=INTEGER}, - - - use_count = #{record.useCount,jdbcType=INTEGER}, - - - enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, - - - code = #{record.code,jdbcType=VARCHAR}, - - - member_level = #{record.memberLevel,jdbcType=INTEGER}, - - - - - - - - update sms_coupon - set id = #{record.id,jdbcType=BIGINT}, - type = #{record.type,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - platform = #{record.platform,jdbcType=VARCHAR}, - count = #{record.count,jdbcType=INTEGER}, - amount = #{record.amount,jdbcType=DECIMAL}, - per_limit = #{record.perLimit,jdbcType=INTEGER}, - min_point = #{record.minPoint,jdbcType=DECIMAL}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - use_type = #{record.useType,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR}, - publish_count = #{record.publishCount,jdbcType=INTEGER}, - use_count = #{record.useCount,jdbcType=INTEGER}, - enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, - code = #{record.code,jdbcType=VARCHAR}, - member_level = #{record.memberLevel,jdbcType=INTEGER} - - - - - - update sms_coupon - - - type = #{type,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - platform = #{platform,jdbcType=VARCHAR}, - - - count = #{count,jdbcType=INTEGER}, - - - amount = #{amount,jdbcType=DECIMAL}, - - - per_limit = #{perLimit,jdbcType=INTEGER}, - - - min_point = #{minPoint,jdbcType=DECIMAL}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - use_type = #{useType,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - publish_count = #{publishCount,jdbcType=INTEGER}, - - - use_count = #{useCount,jdbcType=INTEGER}, - - - enable_time = #{enableTime,jdbcType=TIMESTAMP}, - - - code = #{code,jdbcType=VARCHAR}, - - - member_level = #{memberLevel,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon - set type = #{type,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - platform = #{platform,jdbcType=VARCHAR}, - count = #{count,jdbcType=INTEGER}, - amount = #{amount,jdbcType=DECIMAL}, - per_limit = #{perLimit,jdbcType=INTEGER}, - min_point = #{minPoint,jdbcType=DECIMAL}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - use_type = #{useType,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR}, - publish_count = #{publishCount,jdbcType=INTEGER}, - use_count = #{useCount,jdbcType=INTEGER}, - enable_time = #{enableTime,jdbcType=TIMESTAMP}, - code = #{code,jdbcType=VARCHAR}, - member_level = #{memberLevel,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time, - use_type, note, publish_count, use_count, enable_time, code, member_level - - - - - delete from sms_coupon - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon (type, name, platform, - count, amount, per_limit, - min_point, start_time, end_time, - use_type, note, publish_count, - use_count, enable_time, code, - member_level) - values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=VARCHAR}, - #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, - #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, - #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, - #{useCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, #{code,jdbcType=VARCHAR}, - #{memberLevel,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon - - - type, - - - name, - - - platform, - - - count, - - - amount, - - - per_limit, - - - min_point, - - - start_time, - - - end_time, - - - use_type, - - - note, - - - publish_count, - - - use_count, - - - enable_time, - - - code, - - - member_level, - - - - - #{type,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{platform,jdbcType=VARCHAR}, - - - #{count,jdbcType=INTEGER}, - - - #{amount,jdbcType=DECIMAL}, - - - #{perLimit,jdbcType=INTEGER}, - - - #{minPoint,jdbcType=DECIMAL}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{useType,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - #{publishCount,jdbcType=INTEGER}, - - - #{useCount,jdbcType=INTEGER}, - - - #{enableTime,jdbcType=TIMESTAMP}, - - - #{code,jdbcType=VARCHAR}, - - - #{memberLevel,jdbcType=INTEGER}, - - - - - - update sms_coupon - - - id = #{record.id,jdbcType=BIGINT}, - - - type = #{record.type,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - platform = #{record.platform,jdbcType=VARCHAR}, - - - count = #{record.count,jdbcType=INTEGER}, - - - amount = #{record.amount,jdbcType=DECIMAL}, - - - per_limit = #{record.perLimit,jdbcType=INTEGER}, - - - min_point = #{record.minPoint,jdbcType=DECIMAL}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - use_type = #{record.useType,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - publish_count = #{record.publishCount,jdbcType=INTEGER}, - - - use_count = #{record.useCount,jdbcType=INTEGER}, - - - enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, - - - code = #{record.code,jdbcType=VARCHAR}, - - - member_level = #{record.memberLevel,jdbcType=INTEGER}, - - - - - - - - update sms_coupon - set id = #{record.id,jdbcType=BIGINT}, - type = #{record.type,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - platform = #{record.platform,jdbcType=VARCHAR}, - count = #{record.count,jdbcType=INTEGER}, - amount = #{record.amount,jdbcType=DECIMAL}, - per_limit = #{record.perLimit,jdbcType=INTEGER}, - min_point = #{record.minPoint,jdbcType=DECIMAL}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - use_type = #{record.useType,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR}, - publish_count = #{record.publishCount,jdbcType=INTEGER}, - use_count = #{record.useCount,jdbcType=INTEGER}, - enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, - code = #{record.code,jdbcType=VARCHAR}, - member_level = #{record.memberLevel,jdbcType=INTEGER} - - - - - - update sms_coupon - - - type = #{type,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - platform = #{platform,jdbcType=VARCHAR}, - - - count = #{count,jdbcType=INTEGER}, - - - amount = #{amount,jdbcType=DECIMAL}, - - - per_limit = #{perLimit,jdbcType=INTEGER}, - - - min_point = #{minPoint,jdbcType=DECIMAL}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - use_type = #{useType,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - publish_count = #{publishCount,jdbcType=INTEGER}, - - - use_count = #{useCount,jdbcType=INTEGER}, - - - enable_time = #{enableTime,jdbcType=TIMESTAMP}, - - - code = #{code,jdbcType=VARCHAR}, - - - member_level = #{memberLevel,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon - set type = #{type,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - platform = #{platform,jdbcType=VARCHAR}, - count = #{count,jdbcType=INTEGER}, - amount = #{amount,jdbcType=DECIMAL}, - per_limit = #{perLimit,jdbcType=INTEGER}, - min_point = #{minPoint,jdbcType=DECIMAL}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - use_type = #{useType,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR}, - publish_count = #{publishCount,jdbcType=INTEGER}, - use_count = #{useCount,jdbcType=INTEGER}, - enable_time = #{enableTime,jdbcType=TIMESTAMP}, - code = #{code,jdbcType=VARCHAR}, - member_level = #{memberLevel,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml index bdf71d5..63fa5d2 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml @@ -176,354 +176,4 @@ product_category_id = #{productCategoryId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, product_category_id - - - - - delete from sms_coupon_product_category_relation - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_product_category_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_category_relation (coupon_id, product_category_id) - values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_category_relation - - - coupon_id, - - - product_category_id, - - - - - #{couponId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - - - - update sms_coupon_product_category_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - - - - - - update sms_coupon_product_category_relation - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT} - - - - - - update sms_coupon_product_category_relation - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_product_category_relation - set coupon_id = #{couponId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, product_category_id - - - - - delete from sms_coupon_product_category_relation - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_product_category_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_category_relation (coupon_id, product_category_id) - values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_category_relation - - - coupon_id, - - - product_category_id, - - - - - #{couponId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - - - - update sms_coupon_product_category_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - - - - - - update sms_coupon_product_category_relation - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT} - - - - - - update sms_coupon_product_category_relation - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_product_category_relation - set coupon_id = #{couponId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml index 0d4bc7c..10cf327 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml @@ -176,354 +176,4 @@ product_id = #{productId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, product_id - - - - - delete from sms_coupon_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_relation (coupon_id, product_id) - values (#{couponId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_relation - - - coupon_id, - - - product_id, - - - - - #{couponId,jdbcType=INTEGER}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update sms_coupon_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=INTEGER}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update sms_coupon_product_relation - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=INTEGER}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update sms_coupon_product_relation - - - coupon_id = #{couponId,jdbcType=INTEGER}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_product_relation - set coupon_id = #{couponId,jdbcType=INTEGER}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, product_id - - - - - delete from sms_coupon_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_relation (coupon_id, product_id) - values (#{couponId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_relation - - - coupon_id, - - - product_id, - - - - - #{couponId,jdbcType=INTEGER}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update sms_coupon_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=INTEGER}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update sms_coupon_product_relation - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=INTEGER}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update sms_coupon_product_relation - - - coupon_id = #{couponId,jdbcType=INTEGER}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_product_relation - set coupon_id = #{couponId,jdbcType=INTEGER}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml index fc56af1..802078e 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml @@ -240,482 +240,4 @@ send_time = #{sendTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=INTEGER} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, product_id, member_phone, product_name, subscribe_time, send_time - - - - - delete from sms_flash_promotion_log - where id = #{id,jdbcType=INTEGER} - - - delete from sms_flash_promotion_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_log (member_id, product_id, member_phone, - product_name, subscribe_time, send_time - ) - values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, - #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP} - ) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_log - - - member_id, - - - product_id, - - - member_phone, - - - product_name, - - - subscribe_time, - - - send_time, - - - - - #{memberId,jdbcType=INTEGER}, - - - #{productId,jdbcType=BIGINT}, - - - #{memberPhone,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{subscribeTime,jdbcType=TIMESTAMP}, - - - #{sendTime,jdbcType=TIMESTAMP}, - - - - - - update sms_flash_promotion_log - - - id = #{record.id,jdbcType=INTEGER}, - - - member_id = #{record.memberId,jdbcType=INTEGER}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_phone = #{record.memberPhone,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, - - - send_time = #{record.sendTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion_log - set id = #{record.id,jdbcType=INTEGER}, - member_id = #{record.memberId,jdbcType=INTEGER}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_phone = #{record.memberPhone,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, - send_time = #{record.sendTime,jdbcType=TIMESTAMP} - - - - - - update sms_flash_promotion_log - - - member_id = #{memberId,jdbcType=INTEGER}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_phone = #{memberPhone,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, - - - send_time = #{sendTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=INTEGER} - - - update sms_flash_promotion_log - set member_id = #{memberId,jdbcType=INTEGER}, - product_id = #{productId,jdbcType=BIGINT}, - member_phone = #{memberPhone,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, - send_time = #{sendTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=INTEGER} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, product_id, member_phone, product_name, subscribe_time, send_time - - - - - delete from sms_flash_promotion_log - where id = #{id,jdbcType=INTEGER} - - - delete from sms_flash_promotion_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_log (member_id, product_id, member_phone, - product_name, subscribe_time, send_time - ) - values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, - #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP} - ) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_log - - - member_id, - - - product_id, - - - member_phone, - - - product_name, - - - subscribe_time, - - - send_time, - - - - - #{memberId,jdbcType=INTEGER}, - - - #{productId,jdbcType=BIGINT}, - - - #{memberPhone,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{subscribeTime,jdbcType=TIMESTAMP}, - - - #{sendTime,jdbcType=TIMESTAMP}, - - - - - - update sms_flash_promotion_log - - - id = #{record.id,jdbcType=INTEGER}, - - - member_id = #{record.memberId,jdbcType=INTEGER}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_phone = #{record.memberPhone,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, - - - send_time = #{record.sendTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion_log - set id = #{record.id,jdbcType=INTEGER}, - member_id = #{record.memberId,jdbcType=INTEGER}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_phone = #{record.memberPhone,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, - send_time = #{record.sendTime,jdbcType=TIMESTAMP} - - - - - - update sms_flash_promotion_log - - - member_id = #{memberId,jdbcType=INTEGER}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_phone = #{memberPhone,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, - - - send_time = #{sendTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=INTEGER} - - - update sms_flash_promotion_log - set member_id = #{memberId,jdbcType=INTEGER}, - product_id = #{productId,jdbcType=BIGINT}, - member_phone = #{memberPhone,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, - send_time = #{sendTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=INTEGER} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml index 054af36..77043ca 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml @@ -223,448 +223,4 @@ time_name = #{timeName,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, title, start_time, end_time, status, time_name - - - - - delete from sms_flash_promotion - where id = #{id,jdbcType=INTEGER} - - - delete from sms_flash_promotion - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion (title, start_time, end_time, - status, time_name) - values (#{title,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, - #{status,jdbcType=INTEGER}, #{timeName,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion - - - title, - - - start_time, - - - end_time, - - - status, - - - time_name, - - - - - #{title,jdbcType=VARCHAR}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - #{timeName,jdbcType=VARCHAR}, - - - - - - update sms_flash_promotion - - - id = #{record.id,jdbcType=INTEGER}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - time_name = #{record.timeName,jdbcType=VARCHAR}, - - - - - - - - update sms_flash_promotion - set id = #{record.id,jdbcType=INTEGER}, - title = #{record.title,jdbcType=VARCHAR}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER}, - time_name = #{record.timeName,jdbcType=VARCHAR} - - - - - - update sms_flash_promotion - - - title = #{title,jdbcType=VARCHAR}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - time_name = #{timeName,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=INTEGER} - - - update sms_flash_promotion - set title = #{title,jdbcType=VARCHAR}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER}, - time_name = #{timeName,jdbcType=VARCHAR} - where id = #{id,jdbcType=INTEGER} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, title, start_time, end_time, status, time_name - - - - - delete from sms_flash_promotion - where id = #{id,jdbcType=INTEGER} - - - delete from sms_flash_promotion - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion (title, start_time, end_time, - status, time_name) - values (#{title,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, - #{status,jdbcType=INTEGER}, #{timeName,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion - - - title, - - - start_time, - - - end_time, - - - status, - - - time_name, - - - - - #{title,jdbcType=VARCHAR}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - #{timeName,jdbcType=VARCHAR}, - - - - - - update sms_flash_promotion - - - id = #{record.id,jdbcType=INTEGER}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - time_name = #{record.timeName,jdbcType=VARCHAR}, - - - - - - - - update sms_flash_promotion - set id = #{record.id,jdbcType=INTEGER}, - title = #{record.title,jdbcType=VARCHAR}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER}, - time_name = #{record.timeName,jdbcType=VARCHAR} - - - - - - update sms_flash_promotion - - - title = #{title,jdbcType=VARCHAR}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - time_name = #{timeName,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=INTEGER} - - - update sms_flash_promotion - set title = #{title,jdbcType=VARCHAR}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER}, - time_name = #{timeName,jdbcType=VARCHAR} - where id = #{id,jdbcType=INTEGER} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml index 1f460ac..c018209 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml @@ -303,608 +303,4 @@ note = #{note,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, type, pic, start_time, end_time, status, click_count, order_count, url, - note - - - - - delete from sms_home_advertise - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_advertise - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_advertise (name, type, pic, - start_time, end_time, status, - click_count, order_count, url, - note) - values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, - #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, - #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_advertise - - - name, - - - type, - - - pic, - - - start_time, - - - end_time, - - - status, - - - click_count, - - - order_count, - - - url, - - - note, - - - - - #{name,jdbcType=VARCHAR}, - - - #{type,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARCHAR}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - #{clickCount,jdbcType=INTEGER}, - - - #{orderCount,jdbcType=INTEGER}, - - - #{url,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update sms_home_advertise - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - type = #{record.type,jdbcType=INTEGER}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - click_count = #{record.clickCount,jdbcType=INTEGER}, - - - order_count = #{record.orderCount,jdbcType=INTEGER}, - - - url = #{record.url,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update sms_home_advertise - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - type = #{record.type,jdbcType=INTEGER}, - pic = #{record.pic,jdbcType=VARCHAR}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER}, - click_count = #{record.clickCount,jdbcType=INTEGER}, - order_count = #{record.orderCount,jdbcType=INTEGER}, - url = #{record.url,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update sms_home_advertise - - - name = #{name,jdbcType=VARCHAR}, - - - type = #{type,jdbcType=INTEGER}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - click_count = #{clickCount,jdbcType=INTEGER}, - - - order_count = #{orderCount,jdbcType=INTEGER}, - - - url = #{url,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_advertise - set name = #{name,jdbcType=VARCHAR}, - type = #{type,jdbcType=INTEGER}, - pic = #{pic,jdbcType=VARCHAR}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER}, - click_count = #{clickCount,jdbcType=INTEGER}, - order_count = #{orderCount,jdbcType=INTEGER}, - url = #{url,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, type, pic, start_time, end_time, status, click_count, order_count, url, - note - - - - - delete from sms_home_advertise - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_advertise - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_advertise (name, type, pic, - start_time, end_time, status, - click_count, order_count, url, - note) - values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, - #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, - #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_advertise - - - name, - - - type, - - - pic, - - - start_time, - - - end_time, - - - status, - - - click_count, - - - order_count, - - - url, - - - note, - - - - - #{name,jdbcType=VARCHAR}, - - - #{type,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARCHAR}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - #{clickCount,jdbcType=INTEGER}, - - - #{orderCount,jdbcType=INTEGER}, - - - #{url,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update sms_home_advertise - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - type = #{record.type,jdbcType=INTEGER}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - click_count = #{record.clickCount,jdbcType=INTEGER}, - - - order_count = #{record.orderCount,jdbcType=INTEGER}, - - - url = #{record.url,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update sms_home_advertise - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - type = #{record.type,jdbcType=INTEGER}, - pic = #{record.pic,jdbcType=VARCHAR}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER}, - click_count = #{record.clickCount,jdbcType=INTEGER}, - order_count = #{record.orderCount,jdbcType=INTEGER}, - url = #{record.url,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update sms_home_advertise - - - name = #{name,jdbcType=VARCHAR}, - - - type = #{type,jdbcType=INTEGER}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - click_count = #{clickCount,jdbcType=INTEGER}, - - - order_count = #{orderCount,jdbcType=INTEGER}, - - - url = #{url,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_advertise - set name = #{name,jdbcType=VARCHAR}, - type = #{type,jdbcType=INTEGER}, - pic = #{pic,jdbcType=VARCHAR}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER}, - click_count = #{clickCount,jdbcType=INTEGER}, - order_count = #{orderCount,jdbcType=INTEGER}, - url = #{url,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml index 25bfdd3..2e84721 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml @@ -208,418 +208,4 @@ sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, brand_id, brand_name, recommend_status, sort - - - - - delete from sms_home_brand - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_brand - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_brand (brand_id, brand_name, recommend_status, - sort) - values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_brand - - - brand_id, - - - brand_name, - - - recommend_status, - - - sort, - - - - - #{brandId,jdbcType=BIGINT}, - - - #{brandName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_brand - - - id = #{record.id,jdbcType=BIGINT}, - - - brand_id = #{record.brandId,jdbcType=BIGINT}, - - - brand_name = #{record.brandName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_brand - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - brand_name = #{record.brandName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_brand - - - brand_id = #{brandId,jdbcType=BIGINT}, - - - brand_name = #{brandName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_brand - set brand_id = #{brandId,jdbcType=BIGINT}, - brand_name = #{brandName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, brand_id, brand_name, recommend_status, sort - - - - - delete from sms_home_brand - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_brand - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_brand (brand_id, brand_name, recommend_status, - sort) - values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_brand - - - brand_id, - - - brand_name, - - - recommend_status, - - - sort, - - - - - #{brandId,jdbcType=BIGINT}, - - - #{brandName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_brand - - - id = #{record.id,jdbcType=BIGINT}, - - - brand_id = #{record.brandId,jdbcType=BIGINT}, - - - brand_name = #{record.brandName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_brand - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - brand_name = #{record.brandName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_brand - - - brand_id = #{brandId,jdbcType=BIGINT}, - - - brand_name = #{brandName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_brand - set brand_id = #{brandId,jdbcType=BIGINT}, - brand_name = #{brandName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml index 1c50197..52553dc 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml @@ -208,418 +208,4 @@ sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_name, recommend_status, sort - - - - - delete from sms_home_new_product - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_new_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_new_product (product_id, product_name, recommend_status, - sort) - values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_new_product - - - product_id, - - - product_name, - - - recommend_status, - - - sort, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_new_product - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_new_product - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_name = #{record.productName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_new_product - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_new_product - set product_id = #{productId,jdbcType=BIGINT}, - product_name = #{productName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_name, recommend_status, sort - - - - - delete from sms_home_new_product - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_new_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_new_product (product_id, product_name, recommend_status, - sort) - values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_new_product - - - product_id, - - - product_name, - - - recommend_status, - - - sort, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_new_product - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_new_product - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_name = #{record.productName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_new_product - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_new_product - set product_id = #{productId,jdbcType=BIGINT}, - product_name = #{productName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml index bbf4ed0..eef4bd0 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml @@ -208,418 +208,4 @@ sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_name, recommend_status, sort - - - - - delete from sms_home_recommend_product - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_recommend_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_product (product_id, product_name, recommend_status, - sort) - values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_product - - - product_id, - - - product_name, - - - recommend_status, - - - sort, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_recommend_product - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_product - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_name = #{record.productName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_recommend_product - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_recommend_product - set product_id = #{productId,jdbcType=BIGINT}, - product_name = #{productName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_name, recommend_status, sort - - - - - delete from sms_home_recommend_product - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_recommend_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_product (product_id, product_name, recommend_status, - sort) - values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_product - - - product_id, - - - product_name, - - - recommend_status, - - - sort, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_recommend_product - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_product - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_name = #{record.productName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_recommend_product - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_recommend_product - set product_id = #{productId,jdbcType=BIGINT}, - product_name = #{productName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml index 28cec38..c5b698f 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml @@ -208,418 +208,4 @@ sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, subject_name, recommend_status, sort - - - - - delete from sms_home_recommend_subject - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_recommend_subject - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status, - sort) - values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_subject - - - subject_id, - - - subject_name, - - - recommend_status, - - - sort, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{subjectName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_recommend_subject - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - subject_name = #{record.subjectName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_subject - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - subject_name = #{record.subjectName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_recommend_subject - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - subject_name = #{subjectName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_recommend_subject - set subject_id = #{subjectId,jdbcType=BIGINT}, - subject_name = #{subjectName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, subject_name, recommend_status, sort - - - - - delete from sms_home_recommend_subject - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_recommend_subject - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status, - sort) - values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_subject - - - subject_id, - - - subject_name, - - - recommend_status, - - - sort, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{subjectName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_recommend_subject - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - subject_name = #{record.subjectName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_subject - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - subject_name = #{record.subjectName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_recommend_subject - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - subject_name = #{subjectName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_recommend_subject - set subject_id = #{subjectId,jdbcType=BIGINT}, - subject_name = #{subjectName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml index 8540e09..c429695 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml @@ -223,448 +223,4 @@ user_agent = #{userAgent,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, admin_id, create_time, ip, address, user_agent - - - - - delete from ums_admin_login_log - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin_login_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_login_log (admin_id, create_time, ip, - address, user_agent) - values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, - #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_login_log - - - admin_id, - - - create_time, - - - ip, - - - address, - - - user_agent, - - - - - #{adminId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{ip,jdbcType=VARCHAR}, - - - #{address,jdbcType=VARCHAR}, - - - #{userAgent,jdbcType=VARCHAR}, - - - - - - update ums_admin_login_log - - - id = #{record.id,jdbcType=BIGINT}, - - - admin_id = #{record.adminId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - ip = #{record.ip,jdbcType=VARCHAR}, - - - address = #{record.address,jdbcType=VARCHAR}, - - - user_agent = #{record.userAgent,jdbcType=VARCHAR}, - - - - - - - - update ums_admin_login_log - set id = #{record.id,jdbcType=BIGINT}, - admin_id = #{record.adminId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - ip = #{record.ip,jdbcType=VARCHAR}, - address = #{record.address,jdbcType=VARCHAR}, - user_agent = #{record.userAgent,jdbcType=VARCHAR} - - - - - - update ums_admin_login_log - - - admin_id = #{adminId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - ip = #{ip,jdbcType=VARCHAR}, - - - address = #{address,jdbcType=VARCHAR}, - - - user_agent = #{userAgent,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin_login_log - set admin_id = #{adminId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - ip = #{ip,jdbcType=VARCHAR}, - address = #{address,jdbcType=VARCHAR}, - user_agent = #{userAgent,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, admin_id, create_time, ip, address, user_agent - - - - - delete from ums_admin_login_log - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin_login_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_login_log (admin_id, create_time, ip, - address, user_agent) - values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, - #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_login_log - - - admin_id, - - - create_time, - - - ip, - - - address, - - - user_agent, - - - - - #{adminId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{ip,jdbcType=VARCHAR}, - - - #{address,jdbcType=VARCHAR}, - - - #{userAgent,jdbcType=VARCHAR}, - - - - - - update ums_admin_login_log - - - id = #{record.id,jdbcType=BIGINT}, - - - admin_id = #{record.adminId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - ip = #{record.ip,jdbcType=VARCHAR}, - - - address = #{record.address,jdbcType=VARCHAR}, - - - user_agent = #{record.userAgent,jdbcType=VARCHAR}, - - - - - - - - update ums_admin_login_log - set id = #{record.id,jdbcType=BIGINT}, - admin_id = #{record.adminId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - ip = #{record.ip,jdbcType=VARCHAR}, - address = #{record.address,jdbcType=VARCHAR}, - user_agent = #{record.userAgent,jdbcType=VARCHAR} - - - - - - update ums_admin_login_log - - - admin_id = #{adminId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - ip = #{ip,jdbcType=VARCHAR}, - - - address = #{address,jdbcType=VARCHAR}, - - - user_agent = #{userAgent,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin_login_log - set admin_id = #{adminId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - ip = #{ip,jdbcType=VARCHAR}, - address = #{address,jdbcType=VARCHAR}, - user_agent = #{userAgent,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml index d855820..4e3aa74 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml @@ -208,418 +208,4 @@ email = #{email,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, username, password, icon, email - - - - - delete from ums_admin - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin (username, password, icon, - email) - values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, - #{email,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin - - - username, - - - password, - - - icon, - - - email, - - - - - #{username,jdbcType=VARCHAR}, - - - #{password,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{email,jdbcType=VARCHAR}, - - - - - - update ums_admin - - - id = #{record.id,jdbcType=BIGINT}, - - - username = #{record.username,jdbcType=VARCHAR}, - - - password = #{record.password,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - email = #{record.email,jdbcType=VARCHAR}, - - - - - - - - update ums_admin - set id = #{record.id,jdbcType=BIGINT}, - username = #{record.username,jdbcType=VARCHAR}, - password = #{record.password,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - email = #{record.email,jdbcType=VARCHAR} - - - - - - update ums_admin - - - username = #{username,jdbcType=VARCHAR}, - - - password = #{password,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - email = #{email,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin - set username = #{username,jdbcType=VARCHAR}, - password = #{password,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - email = #{email,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, username, password, icon, email - - - - - delete from ums_admin - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin (username, password, icon, - email) - values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, - #{email,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin - - - username, - - - password, - - - icon, - - - email, - - - - - #{username,jdbcType=VARCHAR}, - - - #{password,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{email,jdbcType=VARCHAR}, - - - - - - update ums_admin - - - id = #{record.id,jdbcType=BIGINT}, - - - username = #{record.username,jdbcType=VARCHAR}, - - - password = #{record.password,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - email = #{record.email,jdbcType=VARCHAR}, - - - - - - - - update ums_admin - set id = #{record.id,jdbcType=BIGINT}, - username = #{record.username,jdbcType=VARCHAR}, - password = #{record.password,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - email = #{record.email,jdbcType=VARCHAR} - - - - - - update ums_admin - - - username = #{username,jdbcType=VARCHAR}, - - - password = #{password,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - email = #{email,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin - set username = #{username,jdbcType=VARCHAR}, - password = #{password,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - email = #{email,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml index 27090ac..88b64e8 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml @@ -256,514 +256,4 @@ source_type = #{sourceType,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, change_type, change_count, operate_man, operate_note, - source_type - - - - - delete from ums_growth_change_history - where id = #{id,jdbcType=BIGINT} - - - delete from ums_growth_change_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_growth_change_history (member_id, create_time, change_type, - change_count, operate_man, operate_note, - source_type) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, - #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_growth_change_history - - - member_id, - - - create_time, - - - change_type, - - - change_count, - - - operate_man, - - - operate_note, - - - source_type, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{changeType,jdbcType=INTEGER}, - - - #{changeCount,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{operateNote,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - - - - update ums_growth_change_history - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{record.changeType,jdbcType=INTEGER}, - - - change_count = #{record.changeCount,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_growth_change_history - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - change_type = #{record.changeType,jdbcType=INTEGER}, - change_count = #{record.changeCount,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER} - - - - - - update ums_growth_change_history - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - change_type = #{changeType,jdbcType=INTEGER}, - - - change_count = #{changeCount,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - operate_note = #{operateNote,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_growth_change_history - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - change_type = #{changeType,jdbcType=INTEGER}, - change_count = #{changeCount,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - operate_note = #{operateNote,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, change_type, change_count, operate_man, operate_note, - source_type - - - - - delete from ums_growth_change_history - where id = #{id,jdbcType=BIGINT} - - - delete from ums_growth_change_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_growth_change_history (member_id, create_time, change_type, - change_count, operate_man, operate_note, - source_type) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, - #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_growth_change_history - - - member_id, - - - create_time, - - - change_type, - - - change_count, - - - operate_man, - - - operate_note, - - - source_type, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{changeType,jdbcType=INTEGER}, - - - #{changeCount,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{operateNote,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - - - - update ums_growth_change_history - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{record.changeType,jdbcType=INTEGER}, - - - change_count = #{record.changeCount,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_growth_change_history - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - change_type = #{record.changeType,jdbcType=INTEGER}, - change_count = #{record.changeCount,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER} - - - - - - update ums_growth_change_history - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - change_type = #{changeType,jdbcType=INTEGER}, - - - change_count = #{changeCount,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - operate_note = #{operateNote,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_growth_change_history - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - change_type = #{changeType,jdbcType=INTEGER}, - change_count = #{changeCount,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - operate_note = #{operateNote,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml index 65dcf55..e3c5b3b 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml @@ -256,514 +256,4 @@ source_type = #{sourceType,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, change_type, change_count, operate_man, operate_note, - source_type - - - - - delete from ums_integration_change_history - where id = #{id,jdbcType=BIGINT} - - - delete from ums_integration_change_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_change_history (member_id, create_time, change_type, - change_count, operate_man, operate_note, - source_type) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, - #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_change_history - - - member_id, - - - create_time, - - - change_type, - - - change_count, - - - operate_man, - - - operate_note, - - - source_type, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{changeType,jdbcType=INTEGER}, - - - #{changeCount,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{operateNote,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - - - - update ums_integration_change_history - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{record.changeType,jdbcType=INTEGER}, - - - change_count = #{record.changeCount,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_integration_change_history - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - change_type = #{record.changeType,jdbcType=INTEGER}, - change_count = #{record.changeCount,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER} - - - - - - update ums_integration_change_history - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - change_type = #{changeType,jdbcType=INTEGER}, - - - change_count = #{changeCount,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - operate_note = #{operateNote,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_integration_change_history - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - change_type = #{changeType,jdbcType=INTEGER}, - change_count = #{changeCount,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - operate_note = #{operateNote,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, change_type, change_count, operate_man, operate_note, - source_type - - - - - delete from ums_integration_change_history - where id = #{id,jdbcType=BIGINT} - - - delete from ums_integration_change_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_change_history (member_id, create_time, change_type, - change_count, operate_man, operate_note, - source_type) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, - #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_change_history - - - member_id, - - - create_time, - - - change_type, - - - change_count, - - - operate_man, - - - operate_note, - - - source_type, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{changeType,jdbcType=INTEGER}, - - - #{changeCount,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{operateNote,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - - - - update ums_integration_change_history - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{record.changeType,jdbcType=INTEGER}, - - - change_count = #{record.changeCount,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_integration_change_history - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - change_type = #{record.changeType,jdbcType=INTEGER}, - change_count = #{record.changeCount,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER} - - - - - - update ums_integration_change_history - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - change_type = #{changeType,jdbcType=INTEGER}, - - - change_count = #{changeCount,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - operate_note = #{operateNote,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_integration_change_history - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - change_type = #{changeType,jdbcType=INTEGER}, - change_count = #{changeCount,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - operate_note = #{operateNote,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml index 72d65c3..02cd39e 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml @@ -208,418 +208,4 @@ coupon_status = #{couponStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status - - - - - delete from ums_intergration_consume_setting - where id = #{id,jdbcType=BIGINT} - - - delete from ums_intergration_consume_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_intergration_consume_setting (deduction_per_amount, max_percent_per_order, - use_unit, coupon_status) - values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, - #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_intergration_consume_setting - - - deduction_per_amount, - - - max_percent_per_order, - - - use_unit, - - - coupon_status, - - - - - #{deductionPerAmount,jdbcType=INTEGER}, - - - #{maxPercentPerOrder,jdbcType=INTEGER}, - - - #{useUnit,jdbcType=INTEGER}, - - - #{couponStatus,jdbcType=INTEGER}, - - - - - - update ums_intergration_consume_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, - - - max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, - - - use_unit = #{record.useUnit,jdbcType=INTEGER}, - - - coupon_status = #{record.couponStatus,jdbcType=INTEGER}, - - - - - - - - update ums_intergration_consume_setting - set id = #{record.id,jdbcType=BIGINT}, - deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, - max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, - use_unit = #{record.useUnit,jdbcType=INTEGER}, - coupon_status = #{record.couponStatus,jdbcType=INTEGER} - - - - - - update ums_intergration_consume_setting - - - deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, - - - max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, - - - use_unit = #{useUnit,jdbcType=INTEGER}, - - - coupon_status = #{couponStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_intergration_consume_setting - set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, - max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, - use_unit = #{useUnit,jdbcType=INTEGER}, - coupon_status = #{couponStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status - - - - - delete from ums_intergration_consume_setting - where id = #{id,jdbcType=BIGINT} - - - delete from ums_intergration_consume_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_intergration_consume_setting (deduction_per_amount, max_percent_per_order, - use_unit, coupon_status) - values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, - #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_intergration_consume_setting - - - deduction_per_amount, - - - max_percent_per_order, - - - use_unit, - - - coupon_status, - - - - - #{deductionPerAmount,jdbcType=INTEGER}, - - - #{maxPercentPerOrder,jdbcType=INTEGER}, - - - #{useUnit,jdbcType=INTEGER}, - - - #{couponStatus,jdbcType=INTEGER}, - - - - - - update ums_intergration_consume_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, - - - max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, - - - use_unit = #{record.useUnit,jdbcType=INTEGER}, - - - coupon_status = #{record.couponStatus,jdbcType=INTEGER}, - - - - - - - - update ums_intergration_consume_setting - set id = #{record.id,jdbcType=BIGINT}, - deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, - max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, - use_unit = #{record.useUnit,jdbcType=INTEGER}, - coupon_status = #{record.couponStatus,jdbcType=INTEGER} - - - - - - update ums_intergration_consume_setting - - - deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, - - - max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, - - - use_unit = #{useUnit,jdbcType=INTEGER}, - - - coupon_status = #{couponStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_intergration_consume_setting - set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, - max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, - use_unit = #{useUnit,jdbcType=INTEGER}, - coupon_status = #{couponStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml index f45b28d..3b11b61 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml @@ -336,674 +336,4 @@ note = #{note,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, growth_point, default_status, free_freight_point, comment_growth_point, - priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, - priviledge_member_price, priviledge_birthday, note - - - - - delete from ums_member_level - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_level - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_level (name, growth_point, default_status, - free_freight_point, comment_growth_point, priviledge_free_freight, - priviledge_sign_in, priviledge_comment, priviledge_promotion, - priviledge_member_price, priviledge_birthday, - note) - values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, - #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, - #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, - #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_level - - - name, - - - growth_point, - - - default_status, - - - free_freight_point, - - - comment_growth_point, - - - priviledge_free_freight, - - - priviledge_sign_in, - - - priviledge_comment, - - - priviledge_promotion, - - - priviledge_member_price, - - - priviledge_birthday, - - - note, - - - - - #{name,jdbcType=VARCHAR}, - - - #{growthPoint,jdbcType=INTEGER}, - - - #{defaultStatus,jdbcType=INTEGER}, - - - #{freeFreightPoint,jdbcType=DECIMAL}, - - - #{commentGrowthPoint,jdbcType=INTEGER}, - - - #{priviledgeFreeFreight,jdbcType=INTEGER}, - - - #{priviledgeSignIn,jdbcType=INTEGER}, - - - #{priviledgeComment,jdbcType=INTEGER}, - - - #{priviledgePromotion,jdbcType=INTEGER}, - - - #{priviledgeMemberPrice,jdbcType=INTEGER}, - - - #{priviledgeBirthday,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update ums_member_level - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - growth_point = #{record.growthPoint,jdbcType=INTEGER}, - - - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - - - free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, - - - comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, - - - priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, - - - priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, - - - priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, - - - priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, - - - priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, - - - priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update ums_member_level - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - growth_point = #{record.growthPoint,jdbcType=INTEGER}, - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, - comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, - priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, - priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, - priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, - priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, - priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, - priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update ums_member_level - - - name = #{name,jdbcType=VARCHAR}, - - - growth_point = #{growthPoint,jdbcType=INTEGER}, - - - default_status = #{defaultStatus,jdbcType=INTEGER}, - - - free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, - - - comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, - - - priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, - - - priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, - - - priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, - - - priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, - - - priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, - - - priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_level - set name = #{name,jdbcType=VARCHAR}, - growth_point = #{growthPoint,jdbcType=INTEGER}, - default_status = #{defaultStatus,jdbcType=INTEGER}, - free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, - comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, - priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, - priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, - priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, - priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, - priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, - priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, growth_point, default_status, free_freight_point, comment_growth_point, - priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, - priviledge_member_price, priviledge_birthday, note - - - - - delete from ums_member_level - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_level - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_level (name, growth_point, default_status, - free_freight_point, comment_growth_point, priviledge_free_freight, - priviledge_sign_in, priviledge_comment, priviledge_promotion, - priviledge_member_price, priviledge_birthday, - note) - values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, - #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, - #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, - #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_level - - - name, - - - growth_point, - - - default_status, - - - free_freight_point, - - - comment_growth_point, - - - priviledge_free_freight, - - - priviledge_sign_in, - - - priviledge_comment, - - - priviledge_promotion, - - - priviledge_member_price, - - - priviledge_birthday, - - - note, - - - - - #{name,jdbcType=VARCHAR}, - - - #{growthPoint,jdbcType=INTEGER}, - - - #{defaultStatus,jdbcType=INTEGER}, - - - #{freeFreightPoint,jdbcType=DECIMAL}, - - - #{commentGrowthPoint,jdbcType=INTEGER}, - - - #{priviledgeFreeFreight,jdbcType=INTEGER}, - - - #{priviledgeSignIn,jdbcType=INTEGER}, - - - #{priviledgeComment,jdbcType=INTEGER}, - - - #{priviledgePromotion,jdbcType=INTEGER}, - - - #{priviledgeMemberPrice,jdbcType=INTEGER}, - - - #{priviledgeBirthday,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update ums_member_level - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - growth_point = #{record.growthPoint,jdbcType=INTEGER}, - - - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - - - free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, - - - comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, - - - priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, - - - priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, - - - priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, - - - priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, - - - priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, - - - priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update ums_member_level - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - growth_point = #{record.growthPoint,jdbcType=INTEGER}, - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, - comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, - priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, - priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, - priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, - priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, - priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, - priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update ums_member_level - - - name = #{name,jdbcType=VARCHAR}, - - - growth_point = #{growthPoint,jdbcType=INTEGER}, - - - default_status = #{defaultStatus,jdbcType=INTEGER}, - - - free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, - - - comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, - - - priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, - - - priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, - - - priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, - - - priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, - - - priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, - - - priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_level - set name = #{name,jdbcType=VARCHAR}, - growth_point = #{growthPoint,jdbcType=INTEGER}, - default_status = #{defaultStatus,jdbcType=INTEGER}, - free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, - comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, - priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, - priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, - priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, - priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, - priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, - priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml index 6b47be9..b8ee2a2 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml @@ -240,482 +240,4 @@ province = #{province,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, ip, city, login_type, province - - - - - delete from ums_member_login_log - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_login_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_login_log (member_id, create_time, ip, - city, login_type, province - ) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, - #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_login_log - - - member_id, - - - create_time, - - - ip, - - - city, - - - login_type, - - - province, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{ip,jdbcType=VARCHAR}, - - - #{city,jdbcType=VARCHAR}, - - - #{loginType,jdbcType=INTEGER}, - - - #{province,jdbcType=VARCHAR}, - - - - - - update ums_member_login_log - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - ip = #{record.ip,jdbcType=VARCHAR}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - login_type = #{record.loginType,jdbcType=INTEGER}, - - - province = #{record.province,jdbcType=VARCHAR}, - - - - - - - - update ums_member_login_log - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - ip = #{record.ip,jdbcType=VARCHAR}, - city = #{record.city,jdbcType=VARCHAR}, - login_type = #{record.loginType,jdbcType=INTEGER}, - province = #{record.province,jdbcType=VARCHAR} - - - - - - update ums_member_login_log - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - ip = #{ip,jdbcType=VARCHAR}, - - - city = #{city,jdbcType=VARCHAR}, - - - login_type = #{loginType,jdbcType=INTEGER}, - - - province = #{province,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_login_log - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - ip = #{ip,jdbcType=VARCHAR}, - city = #{city,jdbcType=VARCHAR}, - login_type = #{loginType,jdbcType=INTEGER}, - province = #{province,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, ip, city, login_type, province - - - - - delete from ums_member_login_log - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_login_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_login_log (member_id, create_time, ip, - city, login_type, province - ) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, - #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_login_log - - - member_id, - - - create_time, - - - ip, - - - city, - - - login_type, - - - province, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{ip,jdbcType=VARCHAR}, - - - #{city,jdbcType=VARCHAR}, - - - #{loginType,jdbcType=INTEGER}, - - - #{province,jdbcType=VARCHAR}, - - - - - - update ums_member_login_log - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - ip = #{record.ip,jdbcType=VARCHAR}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - login_type = #{record.loginType,jdbcType=INTEGER}, - - - province = #{record.province,jdbcType=VARCHAR}, - - - - - - - - update ums_member_login_log - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - ip = #{record.ip,jdbcType=VARCHAR}, - city = #{record.city,jdbcType=VARCHAR}, - login_type = #{record.loginType,jdbcType=INTEGER}, - province = #{record.province,jdbcType=VARCHAR} - - - - - - update ums_member_login_log - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - ip = #{ip,jdbcType=VARCHAR}, - - - city = #{city,jdbcType=VARCHAR}, - - - login_type = #{loginType,jdbcType=INTEGER}, - - - province = #{province,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_login_log - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - ip = #{ip,jdbcType=VARCHAR}, - city = #{city,jdbcType=VARCHAR}, - login_type = #{loginType,jdbcType=INTEGER}, - province = #{province,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml index 15c76e6..ef4aeaa 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml @@ -428,858 +428,4 @@ history_integration = #{historyIntegration,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_level_id, username, password, nickname, phone, status, create_time, icon, - gender, birthday, city, job, personalized_signature, source_type, integration, growth, - luckey_count, history_integration - - - - - delete from ums_member - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member (member_level_id, username, password, - nickname, phone, status, - create_time, icon, gender, - birthday, city, job, personalized_signature, - source_type, integration, growth, - luckey_count, history_integration) - values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, - #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, - #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, - #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, - #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member - - - member_level_id, - - - username, - - - password, - - - nickname, - - - phone, - - - status, - - - create_time, - - - icon, - - - gender, - - - birthday, - - - city, - - - job, - - - personalized_signature, - - - source_type, - - - integration, - - - growth, - - - luckey_count, - - - history_integration, - - - - - #{memberLevelId,jdbcType=BIGINT}, - - - #{username,jdbcType=VARCHAR}, - - - #{password,jdbcType=VARCHAR}, - - - #{nickname,jdbcType=VARCHAR}, - - - #{phone,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{icon,jdbcType=VARCHAR}, - - - #{gender,jdbcType=INTEGER}, - - - #{birthday,jdbcType=DATE}, - - - #{city,jdbcType=VARCHAR}, - - - #{job,jdbcType=VARCHAR}, - - - #{personalizedSignature,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - #{integration,jdbcType=INTEGER}, - - - #{growth,jdbcType=INTEGER}, - - - #{luckeyCount,jdbcType=INTEGER}, - - - #{historyIntegration,jdbcType=INTEGER}, - - - - - - update ums_member - - - id = #{record.id,jdbcType=BIGINT}, - - - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - - - username = #{record.username,jdbcType=VARCHAR}, - - - password = #{record.password,jdbcType=VARCHAR}, - - - nickname = #{record.nickname,jdbcType=VARCHAR}, - - - phone = #{record.phone,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - gender = #{record.gender,jdbcType=INTEGER}, - - - birthday = #{record.birthday,jdbcType=DATE}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - job = #{record.job,jdbcType=VARCHAR}, - - - personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - integration = #{record.integration,jdbcType=INTEGER}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, - - - history_integration = #{record.historyIntegration,jdbcType=INTEGER}, - - - - - - - - update ums_member - set id = #{record.id,jdbcType=BIGINT}, - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - username = #{record.username,jdbcType=VARCHAR}, - password = #{record.password,jdbcType=VARCHAR}, - nickname = #{record.nickname,jdbcType=VARCHAR}, - phone = #{record.phone,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - icon = #{record.icon,jdbcType=VARCHAR}, - gender = #{record.gender,jdbcType=INTEGER}, - birthday = #{record.birthday,jdbcType=DATE}, - city = #{record.city,jdbcType=VARCHAR}, - job = #{record.job,jdbcType=VARCHAR}, - personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER}, - integration = #{record.integration,jdbcType=INTEGER}, - growth = #{record.growth,jdbcType=INTEGER}, - luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, - history_integration = #{record.historyIntegration,jdbcType=INTEGER} - - - - - - update ums_member - - - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - - - username = #{username,jdbcType=VARCHAR}, - - - password = #{password,jdbcType=VARCHAR}, - - - nickname = #{nickname,jdbcType=VARCHAR}, - - - phone = #{phone,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - gender = #{gender,jdbcType=INTEGER}, - - - birthday = #{birthday,jdbcType=DATE}, - - - city = #{city,jdbcType=VARCHAR}, - - - job = #{job,jdbcType=VARCHAR}, - - - personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - integration = #{integration,jdbcType=INTEGER}, - - - growth = #{growth,jdbcType=INTEGER}, - - - luckey_count = #{luckeyCount,jdbcType=INTEGER}, - - - history_integration = #{historyIntegration,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member - set member_level_id = #{memberLevelId,jdbcType=BIGINT}, - username = #{username,jdbcType=VARCHAR}, - password = #{password,jdbcType=VARCHAR}, - nickname = #{nickname,jdbcType=VARCHAR}, - phone = #{phone,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - icon = #{icon,jdbcType=VARCHAR}, - gender = #{gender,jdbcType=INTEGER}, - birthday = #{birthday,jdbcType=DATE}, - city = #{city,jdbcType=VARCHAR}, - job = #{job,jdbcType=VARCHAR}, - personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER}, - integration = #{integration,jdbcType=INTEGER}, - growth = #{growth,jdbcType=INTEGER}, - luckey_count = #{luckeyCount,jdbcType=INTEGER}, - history_integration = #{historyIntegration,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_level_id, username, password, nickname, phone, status, create_time, icon, - gender, birthday, city, job, personalized_signature, source_type, integration, growth, - luckey_count, history_integration - - - - - delete from ums_member - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member (member_level_id, username, password, - nickname, phone, status, - create_time, icon, gender, - birthday, city, job, personalized_signature, - source_type, integration, growth, - luckey_count, history_integration) - values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, - #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, - #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, - #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, - #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member - - - member_level_id, - - - username, - - - password, - - - nickname, - - - phone, - - - status, - - - create_time, - - - icon, - - - gender, - - - birthday, - - - city, - - - job, - - - personalized_signature, - - - source_type, - - - integration, - - - growth, - - - luckey_count, - - - history_integration, - - - - - #{memberLevelId,jdbcType=BIGINT}, - - - #{username,jdbcType=VARCHAR}, - - - #{password,jdbcType=VARCHAR}, - - - #{nickname,jdbcType=VARCHAR}, - - - #{phone,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{icon,jdbcType=VARCHAR}, - - - #{gender,jdbcType=INTEGER}, - - - #{birthday,jdbcType=DATE}, - - - #{city,jdbcType=VARCHAR}, - - - #{job,jdbcType=VARCHAR}, - - - #{personalizedSignature,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - #{integration,jdbcType=INTEGER}, - - - #{growth,jdbcType=INTEGER}, - - - #{luckeyCount,jdbcType=INTEGER}, - - - #{historyIntegration,jdbcType=INTEGER}, - - - - - - update ums_member - - - id = #{record.id,jdbcType=BIGINT}, - - - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - - - username = #{record.username,jdbcType=VARCHAR}, - - - password = #{record.password,jdbcType=VARCHAR}, - - - nickname = #{record.nickname,jdbcType=VARCHAR}, - - - phone = #{record.phone,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - gender = #{record.gender,jdbcType=INTEGER}, - - - birthday = #{record.birthday,jdbcType=DATE}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - job = #{record.job,jdbcType=VARCHAR}, - - - personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - integration = #{record.integration,jdbcType=INTEGER}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, - - - history_integration = #{record.historyIntegration,jdbcType=INTEGER}, - - - - - - - - update ums_member - set id = #{record.id,jdbcType=BIGINT}, - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - username = #{record.username,jdbcType=VARCHAR}, - password = #{record.password,jdbcType=VARCHAR}, - nickname = #{record.nickname,jdbcType=VARCHAR}, - phone = #{record.phone,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - icon = #{record.icon,jdbcType=VARCHAR}, - gender = #{record.gender,jdbcType=INTEGER}, - birthday = #{record.birthday,jdbcType=DATE}, - city = #{record.city,jdbcType=VARCHAR}, - job = #{record.job,jdbcType=VARCHAR}, - personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER}, - integration = #{record.integration,jdbcType=INTEGER}, - growth = #{record.growth,jdbcType=INTEGER}, - luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, - history_integration = #{record.historyIntegration,jdbcType=INTEGER} - - - - - - update ums_member - - - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - - - username = #{username,jdbcType=VARCHAR}, - - - password = #{password,jdbcType=VARCHAR}, - - - nickname = #{nickname,jdbcType=VARCHAR}, - - - phone = #{phone,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - gender = #{gender,jdbcType=INTEGER}, - - - birthday = #{birthday,jdbcType=DATE}, - - - city = #{city,jdbcType=VARCHAR}, - - - job = #{job,jdbcType=VARCHAR}, - - - personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - integration = #{integration,jdbcType=INTEGER}, - - - growth = #{growth,jdbcType=INTEGER}, - - - luckey_count = #{luckeyCount,jdbcType=INTEGER}, - - - history_integration = #{historyIntegration,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member - set member_level_id = #{memberLevelId,jdbcType=BIGINT}, - username = #{username,jdbcType=VARCHAR}, - password = #{password,jdbcType=VARCHAR}, - nickname = #{nickname,jdbcType=VARCHAR}, - phone = #{phone,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - icon = #{icon,jdbcType=VARCHAR}, - gender = #{gender,jdbcType=INTEGER}, - birthday = #{birthday,jdbcType=DATE}, - city = #{city,jdbcType=VARCHAR}, - job = #{job,jdbcType=VARCHAR}, - personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER}, - integration = #{integration,jdbcType=INTEGER}, - growth = #{growth,jdbcType=INTEGER}, - luckey_count = #{luckeyCount,jdbcType=INTEGER}, - history_integration = #{historyIntegration,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml index 4e1322b..24c00b1 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml @@ -176,354 +176,4 @@ tag_id = #{tagId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, tag_id - - - - - delete from ums_member_member_tag_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_member_tag_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_member_tag_relation (member_id, tag_id) - values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_member_tag_relation - - - member_id, - - - tag_id, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{tagId,jdbcType=BIGINT}, - - - - - - update ums_member_member_tag_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - tag_id = #{record.tagId,jdbcType=BIGINT}, - - - - - - - - update ums_member_member_tag_relation - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - tag_id = #{record.tagId,jdbcType=BIGINT} - - - - - - update ums_member_member_tag_relation - - - member_id = #{memberId,jdbcType=BIGINT}, - - - tag_id = #{tagId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_member_tag_relation - set member_id = #{memberId,jdbcType=BIGINT}, - tag_id = #{tagId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, tag_id - - - - - delete from ums_member_member_tag_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_member_tag_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_member_tag_relation (member_id, tag_id) - values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_member_tag_relation - - - member_id, - - - tag_id, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{tagId,jdbcType=BIGINT}, - - - - - - update ums_member_member_tag_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - tag_id = #{record.tagId,jdbcType=BIGINT}, - - - - - - - - update ums_member_member_tag_relation - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - tag_id = #{record.tagId,jdbcType=BIGINT} - - - - - - update ums_member_member_tag_relation - - - member_id = #{memberId,jdbcType=BIGINT}, - - - tag_id = #{tagId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_member_tag_relation - set member_id = #{memberId,jdbcType=BIGINT}, - tag_id = #{tagId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml index 2a27394..8296ec2 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml @@ -176,354 +176,4 @@ product_category_id = #{productCategoryId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, product_category_id - - - - - delete from ums_member_product_category_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_product_category_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_product_category_relation (member_id, product_category_id) - values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_product_category_relation - - - member_id, - - - product_category_id, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - - - - update ums_member_product_category_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - - - - - - update ums_member_product_category_relation - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT} - - - - - - update ums_member_product_category_relation - - - member_id = #{memberId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_product_category_relation - set member_id = #{memberId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, product_category_id - - - - - delete from ums_member_product_category_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_product_category_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_product_category_relation (member_id, product_category_id) - values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_product_category_relation - - - member_id, - - - product_category_id, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - - - - update ums_member_product_category_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - - - - - - update ums_member_product_category_relation - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT} - - - - - - update ums_member_product_category_relation - - - member_id = #{memberId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_product_category_relation - set member_id = #{memberId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml index e5bf240..c09bd63 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml @@ -240,482 +240,4 @@ default_status = #{defaultStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, name, phone_number, address, post_code, default_status - - - - - delete from ums_member_receive_address - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_receive_address - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_receive_address (member_id, name, phone_number, - address, post_code, default_status - ) - values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, - #{address,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, #{defaultStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_receive_address - - - member_id, - - - name, - - - phone_number, - - - address, - - - post_code, - - - default_status, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{phoneNumber,jdbcType=VARCHAR}, - - - #{address,jdbcType=VARCHAR}, - - - #{postCode,jdbcType=VARCHAR}, - - - #{defaultStatus,jdbcType=INTEGER}, - - - - - - update ums_member_receive_address - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, - - - address = #{record.address,jdbcType=VARCHAR}, - - - post_code = #{record.postCode,jdbcType=VARCHAR}, - - - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - - - - - - - - update ums_member_receive_address - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, - address = #{record.address,jdbcType=VARCHAR}, - post_code = #{record.postCode,jdbcType=VARCHAR}, - default_status = #{record.defaultStatus,jdbcType=INTEGER} - - - - - - update ums_member_receive_address - - - member_id = #{memberId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - phone_number = #{phoneNumber,jdbcType=VARCHAR}, - - - address = #{address,jdbcType=VARCHAR}, - - - post_code = #{postCode,jdbcType=VARCHAR}, - - - default_status = #{defaultStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_receive_address - set member_id = #{memberId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - phone_number = #{phoneNumber,jdbcType=VARCHAR}, - address = #{address,jdbcType=VARCHAR}, - post_code = #{postCode,jdbcType=VARCHAR}, - default_status = #{defaultStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, name, phone_number, address, post_code, default_status - - - - - delete from ums_member_receive_address - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_receive_address - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_receive_address (member_id, name, phone_number, - address, post_code, default_status - ) - values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, - #{address,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, #{defaultStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_receive_address - - - member_id, - - - name, - - - phone_number, - - - address, - - - post_code, - - - default_status, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{phoneNumber,jdbcType=VARCHAR}, - - - #{address,jdbcType=VARCHAR}, - - - #{postCode,jdbcType=VARCHAR}, - - - #{defaultStatus,jdbcType=INTEGER}, - - - - - - update ums_member_receive_address - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, - - - address = #{record.address,jdbcType=VARCHAR}, - - - post_code = #{record.postCode,jdbcType=VARCHAR}, - - - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - - - - - - - - update ums_member_receive_address - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, - address = #{record.address,jdbcType=VARCHAR}, - post_code = #{record.postCode,jdbcType=VARCHAR}, - default_status = #{record.defaultStatus,jdbcType=INTEGER} - - - - - - update ums_member_receive_address - - - member_id = #{memberId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - phone_number = #{phoneNumber,jdbcType=VARCHAR}, - - - address = #{address,jdbcType=VARCHAR}, - - - post_code = #{postCode,jdbcType=VARCHAR}, - - - default_status = #{defaultStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_receive_address - set member_id = #{memberId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - phone_number = #{phoneNumber,jdbcType=VARCHAR}, - address = #{address,jdbcType=VARCHAR}, - post_code = #{postCode,jdbcType=VARCHAR}, - default_status = #{defaultStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml index 7527080..9821109 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml @@ -241,484 +241,4 @@ type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, - max_point_per_order, type - - - - - delete from ums_member_rule_setting - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_rule_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_rule_setting (continue_sign_day, continue_sign_point, - consume_per_point, low_order_amount, max_point_per_order, - type) - values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, - #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, - #{type,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_rule_setting - - - continue_sign_day, - - - continue_sign_point, - - - consume_per_point, - - - low_order_amount, - - - max_point_per_order, - - - type, - - - - - #{continueSignDay,jdbcType=INTEGER}, - - - #{continueSignPoint,jdbcType=INTEGER}, - - - #{consumePerPoint,jdbcType=DECIMAL}, - - - #{lowOrderAmount,jdbcType=DECIMAL}, - - - #{maxPointPerOrder,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update ums_member_rule_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, - - - continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, - - - consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, - - - low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, - - - max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_rule_setting - set id = #{record.id,jdbcType=BIGINT}, - continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, - continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, - consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, - low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, - max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update ums_member_rule_setting - - - continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, - - - continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, - - - consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, - - - low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, - - - max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_rule_setting - set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, - continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, - consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, - low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, - max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, - max_point_per_order, type - - - - - delete from ums_member_rule_setting - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_rule_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_rule_setting (continue_sign_day, continue_sign_point, - consume_per_point, low_order_amount, max_point_per_order, - type) - values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, - #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, - #{type,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_rule_setting - - - continue_sign_day, - - - continue_sign_point, - - - consume_per_point, - - - low_order_amount, - - - max_point_per_order, - - - type, - - - - - #{continueSignDay,jdbcType=INTEGER}, - - - #{continueSignPoint,jdbcType=INTEGER}, - - - #{consumePerPoint,jdbcType=DECIMAL}, - - - #{lowOrderAmount,jdbcType=DECIMAL}, - - - #{maxPointPerOrder,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update ums_member_rule_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, - - - continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, - - - consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, - - - low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, - - - max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_rule_setting - set id = #{record.id,jdbcType=BIGINT}, - continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, - continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, - consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, - low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, - max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update ums_member_rule_setting - - - continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, - - - continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, - - - consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, - - - low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, - - - max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_rule_setting - set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, - continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, - consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, - low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, - max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml index a7d3cbc..e2aab41 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml @@ -383,768 +383,4 @@ recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, - login_count, attend_count, fans_count, collect_product_count, collect_subject_count, - collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time - - - - - delete from ums_member_statistics_info - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_statistics_info - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_statistics_info (member_id, consume_amount, order_count, - coupon_count, comment_count, return_order_count, - login_count, attend_count, fans_count, - collect_product_count, collect_subject_count, - collect_topic_count, collect_comment_count, - invite_friend_count, recent_order_time) - values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, - #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, - #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, - #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, - #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, - #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_statistics_info - - - member_id, - - - consume_amount, - - - order_count, - - - coupon_count, - - - comment_count, - - - return_order_count, - - - login_count, - - - attend_count, - - - fans_count, - - - collect_product_count, - - - collect_subject_count, - - - collect_topic_count, - - - collect_comment_count, - - - invite_friend_count, - - - recent_order_time, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{consumeAmount,jdbcType=DECIMAL}, - - - #{orderCount,jdbcType=INTEGER}, - - - #{couponCount,jdbcType=INTEGER}, - - - #{commentCount,jdbcType=INTEGER}, - - - #{returnOrderCount,jdbcType=INTEGER}, - - - #{loginCount,jdbcType=INTEGER}, - - - #{attendCount,jdbcType=INTEGER}, - - - #{fansCount,jdbcType=INTEGER}, - - - #{collectProductCount,jdbcType=INTEGER}, - - - #{collectSubjectCount,jdbcType=INTEGER}, - - - #{collectTopicCount,jdbcType=INTEGER}, - - - #{collectCommentCount,jdbcType=INTEGER}, - - - #{inviteFriendCount,jdbcType=INTEGER}, - - - #{recentOrderTime,jdbcType=TIMESTAMP}, - - - - - - update ums_member_statistics_info - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, - - - order_count = #{record.orderCount,jdbcType=INTEGER}, - - - coupon_count = #{record.couponCount,jdbcType=INTEGER}, - - - comment_count = #{record.commentCount,jdbcType=INTEGER}, - - - return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, - - - login_count = #{record.loginCount,jdbcType=INTEGER}, - - - attend_count = #{record.attendCount,jdbcType=INTEGER}, - - - fans_count = #{record.fansCount,jdbcType=INTEGER}, - - - collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, - - - collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, - - - collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, - - - collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, - - - invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, - - - recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, - - - - - - - - update ums_member_statistics_info - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, - order_count = #{record.orderCount,jdbcType=INTEGER}, - coupon_count = #{record.couponCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, - login_count = #{record.loginCount,jdbcType=INTEGER}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - fans_count = #{record.fansCount,jdbcType=INTEGER}, - collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, - collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, - collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, - collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, - invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, - recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} - - - - - - update ums_member_statistics_info - - - member_id = #{memberId,jdbcType=BIGINT}, - - - consume_amount = #{consumeAmount,jdbcType=DECIMAL}, - - - order_count = #{orderCount,jdbcType=INTEGER}, - - - coupon_count = #{couponCount,jdbcType=INTEGER}, - - - comment_count = #{commentCount,jdbcType=INTEGER}, - - - return_order_count = #{returnOrderCount,jdbcType=INTEGER}, - - - login_count = #{loginCount,jdbcType=INTEGER}, - - - attend_count = #{attendCount,jdbcType=INTEGER}, - - - fans_count = #{fansCount,jdbcType=INTEGER}, - - - collect_product_count = #{collectProductCount,jdbcType=INTEGER}, - - - collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, - - - collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, - - - collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, - - - invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, - - - recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_statistics_info - set member_id = #{memberId,jdbcType=BIGINT}, - consume_amount = #{consumeAmount,jdbcType=DECIMAL}, - order_count = #{orderCount,jdbcType=INTEGER}, - coupon_count = #{couponCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - return_order_count = #{returnOrderCount,jdbcType=INTEGER}, - login_count = #{loginCount,jdbcType=INTEGER}, - attend_count = #{attendCount,jdbcType=INTEGER}, - fans_count = #{fansCount,jdbcType=INTEGER}, - collect_product_count = #{collectProductCount,jdbcType=INTEGER}, - collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, - collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, - collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, - invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, - recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, - login_count, attend_count, fans_count, collect_product_count, collect_subject_count, - collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time - - - - - delete from ums_member_statistics_info - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_statistics_info - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_statistics_info (member_id, consume_amount, order_count, - coupon_count, comment_count, return_order_count, - login_count, attend_count, fans_count, - collect_product_count, collect_subject_count, - collect_topic_count, collect_comment_count, - invite_friend_count, recent_order_time) - values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, - #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, - #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, - #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, - #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, - #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_statistics_info - - - member_id, - - - consume_amount, - - - order_count, - - - coupon_count, - - - comment_count, - - - return_order_count, - - - login_count, - - - attend_count, - - - fans_count, - - - collect_product_count, - - - collect_subject_count, - - - collect_topic_count, - - - collect_comment_count, - - - invite_friend_count, - - - recent_order_time, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{consumeAmount,jdbcType=DECIMAL}, - - - #{orderCount,jdbcType=INTEGER}, - - - #{couponCount,jdbcType=INTEGER}, - - - #{commentCount,jdbcType=INTEGER}, - - - #{returnOrderCount,jdbcType=INTEGER}, - - - #{loginCount,jdbcType=INTEGER}, - - - #{attendCount,jdbcType=INTEGER}, - - - #{fansCount,jdbcType=INTEGER}, - - - #{collectProductCount,jdbcType=INTEGER}, - - - #{collectSubjectCount,jdbcType=INTEGER}, - - - #{collectTopicCount,jdbcType=INTEGER}, - - - #{collectCommentCount,jdbcType=INTEGER}, - - - #{inviteFriendCount,jdbcType=INTEGER}, - - - #{recentOrderTime,jdbcType=TIMESTAMP}, - - - - - - update ums_member_statistics_info - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, - - - order_count = #{record.orderCount,jdbcType=INTEGER}, - - - coupon_count = #{record.couponCount,jdbcType=INTEGER}, - - - comment_count = #{record.commentCount,jdbcType=INTEGER}, - - - return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, - - - login_count = #{record.loginCount,jdbcType=INTEGER}, - - - attend_count = #{record.attendCount,jdbcType=INTEGER}, - - - fans_count = #{record.fansCount,jdbcType=INTEGER}, - - - collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, - - - collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, - - - collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, - - - collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, - - - invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, - - - recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, - - - - - - - - update ums_member_statistics_info - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, - order_count = #{record.orderCount,jdbcType=INTEGER}, - coupon_count = #{record.couponCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, - login_count = #{record.loginCount,jdbcType=INTEGER}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - fans_count = #{record.fansCount,jdbcType=INTEGER}, - collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, - collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, - collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, - collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, - invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, - recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} - - - - - - update ums_member_statistics_info - - - member_id = #{memberId,jdbcType=BIGINT}, - - - consume_amount = #{consumeAmount,jdbcType=DECIMAL}, - - - order_count = #{orderCount,jdbcType=INTEGER}, - - - coupon_count = #{couponCount,jdbcType=INTEGER}, - - - comment_count = #{commentCount,jdbcType=INTEGER}, - - - return_order_count = #{returnOrderCount,jdbcType=INTEGER}, - - - login_count = #{loginCount,jdbcType=INTEGER}, - - - attend_count = #{attendCount,jdbcType=INTEGER}, - - - fans_count = #{fansCount,jdbcType=INTEGER}, - - - collect_product_count = #{collectProductCount,jdbcType=INTEGER}, - - - collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, - - - collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, - - - collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, - - - invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, - - - recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_statistics_info - set member_id = #{memberId,jdbcType=BIGINT}, - consume_amount = #{consumeAmount,jdbcType=DECIMAL}, - order_count = #{orderCount,jdbcType=INTEGER}, - coupon_count = #{couponCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - return_order_count = #{returnOrderCount,jdbcType=INTEGER}, - login_count = #{loginCount,jdbcType=INTEGER}, - attend_count = #{attendCount,jdbcType=INTEGER}, - fans_count = #{fansCount,jdbcType=INTEGER}, - collect_product_count = #{collectProductCount,jdbcType=INTEGER}, - collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, - collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, - collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, - invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, - recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml index 367a542..08ec6ff 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml @@ -193,388 +193,4 @@ finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, finish_order_count, finish_order_amount - - - - - delete from ums_member_tag - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_tag - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_tag (name, finish_order_count, finish_order_amount - ) - values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_tag - - - name, - - - finish_order_count, - - - finish_order_amount, - - - - - #{name,jdbcType=VARCHAR}, - - - #{finishOrderCount,jdbcType=INTEGER}, - - - #{finishOrderAmount,jdbcType=DECIMAL}, - - - - - - update ums_member_tag - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, - - - finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, - - - - - - - - update ums_member_tag - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, - finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} - - - - - - update ums_member_tag - - - name = #{name,jdbcType=VARCHAR}, - - - finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, - - - finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_tag - set name = #{name,jdbcType=VARCHAR}, - finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, - finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, finish_order_count, finish_order_amount - - - - - delete from ums_member_tag - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_tag - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_tag (name, finish_order_count, finish_order_amount - ) - values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_tag - - - name, - - - finish_order_count, - - - finish_order_amount, - - - - - #{name,jdbcType=VARCHAR}, - - - #{finishOrderCount,jdbcType=INTEGER}, - - - #{finishOrderAmount,jdbcType=DECIMAL}, - - - - - - update ums_member_tag - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, - - - finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, - - - - - - - - update ums_member_tag - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, - finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} - - - - - - update ums_member_tag - - - name = #{name,jdbcType=VARCHAR}, - - - finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, - - - finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_tag - set name = #{name,jdbcType=VARCHAR}, - finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, - finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml index e010de4..9a5783d 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml @@ -208,418 +208,4 @@ type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, growth, intergration, type - - - - - delete from ums_member_task - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_task - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_task (name, growth, intergration, - type) - values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, - #{type,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_task - - - name, - - - growth, - - - intergration, - - - type, - - - - - #{name,jdbcType=VARCHAR}, - - - #{growth,jdbcType=INTEGER}, - - - #{intergration,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update ums_member_task - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - intergration = #{record.intergration,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_task - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - growth = #{record.growth,jdbcType=INTEGER}, - intergration = #{record.intergration,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update ums_member_task - - - name = #{name,jdbcType=VARCHAR}, - - - growth = #{growth,jdbcType=INTEGER}, - - - intergration = #{intergration,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_task - set name = #{name,jdbcType=VARCHAR}, - growth = #{growth,jdbcType=INTEGER}, - intergration = #{intergration,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, growth, intergration, type - - - - - delete from ums_member_task - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_task - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_task (name, growth, intergration, - type) - values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, - #{type,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_task - - - name, - - - growth, - - - intergration, - - - type, - - - - - #{name,jdbcType=VARCHAR}, - - - #{growth,jdbcType=INTEGER}, - - - #{intergration,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update ums_member_task - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - intergration = #{record.intergration,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_task - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - growth = #{record.growth,jdbcType=INTEGER}, - intergration = #{record.intergration,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update ums_member_task - - - name = #{name,jdbcType=VARCHAR}, - - - growth = #{growth,jdbcType=INTEGER}, - - - intergration = #{intergration,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_task - set name = #{name,jdbcType=VARCHAR}, - growth = #{growth,jdbcType=INTEGER}, - intergration = #{intergration,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - \ No newline at end of file