lis框架各种方法的使用

//这个必须是lpedorapp表的主键才行
LPEdorAppDB tLPEdorAppDB = new LPEdorAppDB();
tLPEdorAppDB.setEdorAcceptNo(mEdorAcceptNo);
if (!tLPEdorAppDB.getInfo()) {
CError tError = new CError();
tError.moduleName = "PEdorBCDetailBL";
tError.functionName = "checkData";
tError.errorMessage = "没有查询到该保全信息";
this.mErrors.addOneError(tError);
return false;
}
mLPEdorAppSchema = tLPEdorAppDB.getSchema();

//这个可以不包含lcinsured表的主键
// 若减掉的是主被保险人,且其家庭下有附属人,则附属人会自动减掉if ("01".equals(tLCInsuredSchema.getRelationship())) {    tLCInsuredDB = new LCInsuredDB();    tLCInsuredDB.setPolicyNo(tLCInsuredSchema.getPolicyNo());    tLCInsuredDB.setFamilyContNo(tLCInsuredSchema.getFamilyContNo());    LCInsuredSet tLCInsuredSet = tLCInsuredDB.query();    for (int j = 1; j <= tLCInsuredSet.size(); j++) {        LCInsuredSchema tLCInsuredSchema2 = tLCInsuredSet.get(j);        if (!"01".equals(tLCInsuredSchema2.getRelationship())) {            // 生成保全相关表            createData(tLCInsuredSchema2);        }    }}
相关文章
相关标签/搜索