PropertiesHelper pHelper = PropertiesFactory.getPropertiesHelper(PropertiesFile.G4);
String callPrcSuccessFlag = pHelper.getValue("callPrcSuccessFlag", "1");
// getSqlMapClientTemplate().queryForObject(prcName, prcDto);
getSqlMapClientTemplate().insert(prcName, prcDto);
if (G4Utils.isEmpty(prcDto.getAsString("appCode"))) {
throw new PrcException(prcName, "存储过程没有返回状态码appCode");
} else {
if (!prcDto.getAsString("appCode").equals(callPrcSuccessFlag)) {
throw new PrcException(prcName, prcDto.getAsString("appCode"), prcDto.getAsString("errorMsg"));
}
}
}