修改重新保存申请人信息共同申请人信息不见

This commit is contained in:
tangfutang 2018-08-24 17:15:24 +08:00
parent 4281489963
commit fc88676554

View File

@ -327,7 +327,7 @@ public class CustomerInfoManage {
public String deleteCustomerFamily(JBOTransaction tx){
try{
BizObjectManager bom = JBOFactory.getBizObjectManager(CUSTOMER_FAMILY_TEMP.CLASS_NAME,tx);
BizObject bo = bom.createQuery("flowunid=:flowunid and customerid=:customerid and Spouse_<>'Y' ").setParameter("flowunid", flowunid).setParameter("customerid", customerid).getSingleResult(true);
BizObject bo = bom.createQuery("flowunid=:flowunid and customerid=:customerid and Spouse_='Y' ").setParameter("flowunid", flowunid).setParameter("customerid", customerid).getSingleResult(true);
if(bo==null){
return "ERROR";
}