Commit 849d7a20 by wuwenlong

物料清单新增层级

parent 9976fe97
......@@ -90,7 +90,7 @@ public class ServiceHPSC002 extends ServiceBase {
hppz002.setLevel(new Integer(1));
}else{
Integer level = (Integer) this.dao.get("HPSC002.queryLevel","id",hppz002.getParentId());
hppz002.setLevel(level);
hppz002.setLevel(level.intValue()+1);
}
DaoUtils.insert("HPSC002.insert", hppz002.toMap());
// if (!hppz002.getParentId().equals("root")) {
......
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