Commit 1f342f66 by guojuxing

string cast to integer

parent f662743a
...@@ -174,7 +174,7 @@ public class EnterpriseListDTO implements Serializable{ ...@@ -174,7 +174,7 @@ public class EnterpriseListDTO implements Serializable{
Object store = map.get(LicenseUtils.STORE_LICENSE_NAME); Object store = map.get(LicenseUtils.STORE_LICENSE_NAME);
//商品license,用于前端license扩容的时候判断:商品数量不变,不提交商品license数据给接口 //商品license,用于前端license扩容的时候判断:商品数量不变,不提交商品license数据给接口
Object goods = map.get(LicenseUtils.GOODS_LICENSE_NAME); Object goods = map.get(LicenseUtils.GOODS_LICENSE_NAME);
setGoodsCount(goods == null ? 0 : (Integer) goods); setGoodsCount(goods == null ? 0 : Integer.parseInt(goods.toString()));
return (memberCard == null ? "0" : memberCard.toString()) + "-" return (memberCard == null ? "0" : memberCard.toString()) + "-"
+ (serviceCard == null ? "0" : serviceCard.toString()) + "-" + (serviceCard == null ? "0" : serviceCard.toString()) + "-"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment