|
|
@@ -43,18 +43,16 @@ import java.util.List;
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "trade$goods", indexes = {
|
|
|
- @Index(name = "trade_goods_cmpuuid_index", columnList = "cmp_uuid"),
|
|
|
+ @Index(name = "goods_cmpuuid_index", columnList = "cmp_uuid"),
|
|
|
@Index(name = "goods_reserve_index", columnList = "go_reserve"),
|
|
|
@Index(name = "goods_status_index", columnList = "go_status"),
|
|
|
@Index(name = "goods_code_index", columnList = "cmp_code"),
|
|
|
- @Index(name = "trade$goods_createddate_index", columnList = "go_createddate"),
|
|
|
- @Index(name = "trade$goods_storename_index", columnList = "go_storename"),
|
|
|
- @Index(name = "trade$goods_enuu_index", columnList = "go_enuu"),
|
|
|
- @Index(name = "trade$goods_kinduuid_index", columnList = "go_kind_uuid"),
|
|
|
- @Index(name = "trade$goods_currencyName_index", columnList = "cr_name"),
|
|
|
- @Index(name = "trade$goods_storeid_index", columnList = "go_storeid"),
|
|
|
- @Index(name = "trade$goods_breakup_index", columnList = "go_isbreakup"),
|
|
|
- @Index(name = "trade$goods_audited_index", columnList = "go_audited")
|
|
|
+ @Index(name = "goods_createddate_index", columnList = "go_createddate"),
|
|
|
+ @Index(name = "goods_storename_index", columnList = "go_storename"),
|
|
|
+ @Index(name = "goods_enuu_index", columnList = "go_enuu"),
|
|
|
+ @Index(name = "goods_kinduuid_index", columnList = "go_kind_uuid"),
|
|
|
+ @Index(name = "goods_storeid_index", columnList = "go_storeid"),
|
|
|
+ @Index(name = "goods_productid_index", columnList = "go_productid")
|
|
|
})
|
|
|
@Cacheable
|
|
|
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE, region = "com.uas.platform.b2c.prod.commodity.model.Goods")
|