Compare commits
No commits in common. "600135e19672f148707ee5be721369f3f5b47330" and "4cc4c58470f669c8362337efad3a30b73194be34" have entirely different histories.
600135e196
...
4cc4c58470
@ -844,10 +844,10 @@ public abstract class SyncBaseThirdSxAbstract{
|
||||
shopProductBase.setProduct_state_id(StateCode.PRODUCT_STATE_OFF_THE_SHELF);//默认是下架
|
||||
shopProductBase.setUnit_price(BigDecimal.valueOf(jsonObj.getDouble("retail_price")));
|
||||
if(!checkProductContainUnits(productName)){
|
||||
String spectItem=StringUtils.isNotEmpty(shopProductBase.getSpecItem())?shopProductBase.getSpecItem():"";//规格
|
||||
String unit=StringUtils.isNotEmpty(shopProductBase.getSpecUnit())?shopProductBase.getSpecUnit():"";//规格单位
|
||||
if(StringUtils.isNotEmpty(spectItem)||StringUtils.isNotEmpty(unit)){
|
||||
productName=productName+spectItem+"/"+unit;
|
||||
//String spectItem=StringUtils.isNotEmpty(shopProductBase.getSpecItem())?shopProductBase.getSpecItem():"";
|
||||
String unit=shopProductBase.getSpecUnit();
|
||||
if(StringUtils.isNotEmpty(unit)){
|
||||
productName=productName+"/"+unit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user