Commit ad5111c1 authored by Quxl's avatar Quxl

x

parent f5a51c50
...@@ -65,8 +65,8 @@ public class CartQueryServiceImpl implements CartQueryService { ...@@ -65,8 +65,8 @@ public class CartQueryServiceImpl implements CartQueryService {
if(invalid.intValue() == 1) { if(invalid.intValue() == 1) {
isInvalid = true; isInvalid = true;
} }
Integer nTag_CG = (Integer) data.get("nTag_CG"); Number nTag_CG = (Number) data.get("nTag_CG");
if (nTag_CG != null && (nTag_CG & 16) == 16) { if (nTag_CG != null && (nTag_CG.intValue() & 16) == 16) {
data.put("published", 1); data.put("published", 1);
} else { } else {
data.put("published", 0); data.put("published", 0);
......
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