|
|
@@ -270,7 +270,7 @@ public class ERPServiceImpl implements ERPService {
|
|
|
String cate_code = map.getCatecode(); // 科目编码
|
|
|
BigDecimal detno = map.getDetno();
|
|
|
if (!cate_code.trim().equals("")) {
|
|
|
- Object o = baseDao.getFieldDataByCondition("CATEGORY", "ca_isleaf", "ca_code='" + cate_code + "'");
|
|
|
+ Object o = baseDao.getFieldDataByCondition(master+"CATEGORY", "ca_isleaf", "ca_code='" + cate_code + "'");
|
|
|
String isleaf = o == null ? "0" : o.toString();
|
|
|
if (isleaf.equals("0")) {
|
|
|
// 科目不是子节点 报错
|