@Test public void testGetUpdateQuery() { String updateQuery = "UPDATE egmr_registration_unit SET name=?,isactive=?,locality=?,zone=?,revenueWard=?,block=?,street=?,electionWard=?,doorNo=?,pinCode=?,isMainRegistrationUnit=?,createdBy=?,lastModifiedBy=?,createdTime=?,lastModifiedTime=?WHERE id=? AND tenantId=? ;"; assertEquals(updateQuery, registrationUnitQueryBuilder.getUpdateQuery()); }
public String getUpdateQuery() { return "UPDATE egmr_registration_unit SET name=?,isactive=?,locality=?,zone=?,revenueWard=?,block=?" + ",street=?,electionWard=?,doorNo=?,pinCode=?,isMainRegistrationUnit=?,createdBy=?,lastModifiedBy=?,createdTime=?,lastModifiedTime=?" + "WHERE id=? AND tenantId=? ;"; }
RegistrationUnitQueryBuilder { public String getUpdateQuery() { return "UPDATE egmr_registration_unit SET name=?,isactive=?,locality=?,zone=?,revenueWard=?,block=?" + ",street=?,electionWard=?,doorNo=?,pinCode=?,isMainRegistrationUnit=?,createdBy=?,lastModifiedBy=?,createdTime=?,lastModifiedTime=?" + "WHERE id=? AND tenantId=? ;"; } }
RegistrationUnitQueryBuilder { public String getUpdateQuery() { return "UPDATE egmr_registration_unit SET name=?,isactive=?,locality=?,zone=?,revenueWard=?,block=?" + ",street=?,electionWard=?,doorNo=?,pinCode=?,isMainRegistrationUnit=?,createdBy=?,lastModifiedBy=?,createdTime=?,lastModifiedTime=?" + "WHERE id=? AND tenantId=? ;"; }  }
RegistrationUnitQueryBuilder { public String getUpdateQuery() { return "UPDATE egmr_registration_unit SET name=?,isactive=?,locality=?,zone=?,revenueWard=?,block=?" + ",street=?,electionWard=?,doorNo=?,pinCode=?,isMainRegistrationUnit=?,createdBy=?,lastModifiedBy=?,createdTime=?,lastModifiedTime=?" + "WHERE id=? AND tenantId=? ;"; }  String getSelectQuery(RegistrationUnitSearchCriteria regnUnitSearchCriteria); String getIdNextValForRegnUnit(); String getCreateQuery(); String getUpdateQuery(); }
RegistrationUnitQueryBuilder { public String getUpdateQuery() { return "UPDATE egmr_registration_unit SET name=?,isactive=?,locality=?,zone=?,revenueWard=?,block=?" + ",street=?,electionWard=?,doorNo=?,pinCode=?,isMainRegistrationUnit=?,createdBy=?,lastModifiedBy=?,createdTime=?,lastModifiedTime=?" + "WHERE id=? AND tenantId=? ;"; }  String getSelectQuery(RegistrationUnitSearchCriteria regnUnitSearchCriteria); String getIdNextValForRegnUnit(); String getCreateQuery(); String getUpdateQuery(); final String BASEQUERY; }