Search in sources :

Example 6 with DataQueryMapperVO

use of com.netsteadfast.greenstep.vo.DataQueryMapperVO in project bamboobsc by billchen198318.

the class DataQueryMapperSaveOrUpdateAction method save.

private void save() throws ControllerException, AuthorityException, ServiceException, Exception {
    this.checkFields();
    DataQueryMapperVO queryMapper = new DataQueryMapperVO();
    this.transformFields2ValueObject(queryMapper, new String[] { "name", "description" });
    DefaultResult<DataQueryMapperVO> result = this.dataQueryMapperLogicService.createMapper(queryMapper, this.fillFieldsMapperData());
    this.message = result.getSystemMessage().getValue();
    if (result.getValue() != null) {
        this.success = IS_YES;
    }
}
Also used : DataQueryMapperVO(com.netsteadfast.greenstep.vo.DataQueryMapperVO)

Aggregations

DataQueryMapperVO (com.netsteadfast.greenstep.vo.DataQueryMapperVO)6 ServiceException (com.netsteadfast.greenstep.base.exception.ServiceException)3 QcDataQueryMapperSet (com.netsteadfast.greenstep.po.hbm.QcDataQueryMapperSet)2 HashMap (java.util.HashMap)2 LinkedList (java.util.LinkedList)2 ServiceMethodAuthority (com.netsteadfast.greenstep.base.model.ServiceMethodAuthority)1 Map (java.util.Map)1 Transactional (org.springframework.transaction.annotation.Transactional)1