| | |
| | | |
| | | @Override |
| | | public List<SpStatBonus> getListBySpStatBonus(SpStatBonusReq spStatBonusReq) { |
| | | // PABONUSTYPE 在存储过程中是 INTEGER,空串会报 Incorrect integer value;空值按 0(全部)处理 |
| | | String bonusType = spStatBonusReq.getPabonustype(); |
| | | if (bonusType == null || bonusType.trim().isEmpty()) { |
| | | bonusType = "0"; |
| | | } |
| | | return spStatBonusMapper.getListBySpStatBonus(spStatBonusReq.getPabegtime(), spStatBonusReq.getPaendtime(), spStatBonusReq.getPadeptno(), spStatBonusReq.getPausername(), bonusType); |
| | | return spStatBonusMapper.getListBySpStatBonus(spStatBonusReq.getPabegtime(), spStatBonusReq.getPaendtime(), spStatBonusReq.getPadeptno(), spStatBonusReq.getPausername()); |
| | | } |
| | | } |