Commit db108152 by unknown

reslove the usedtotal

parent c14ae4af
......@@ -627,7 +627,7 @@ public class AsmCourseResourceService {
bean.setCommuneMinus(asm.getCommuneMinus());
bean.setValidRes(asm.getProductId() != null? true:false);
boolean hotFlag = false;
if(asm.getUsedInventory() != null && asm.getUsedInventory()>=20){
if(asm.getTotalUsed() != null && asm.getTotalUsed()>=20){
hotFlag = true;
}
bean.setHotFlag(hotFlag);
......
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 sign in to comment