Exception uses throws, don't use catch

If you use throws, don't use catch. If you configure transactions or exception handling, the system will automatically listen to

@Override

public List<TbWhInformation> getTipByCustomerKey(Map<String, Object> param) throws Exception {

// TODO Auto-generated method stub

Map<String,Object> paramChk = new HashMap<String,Object>();

StringBuffer sb1 = new StringBuffer();

sb1.append("CHKTYPE=0");

paramChk.put("P_INPARA", sb1.toString());

tbWhInformationMapper.getTmpChkmesendAll(param);

List<TbWhInformation> info= tbWhInformationMapper.getAllTip(param);

return info;

}

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326556898&siteId=291194637