| | |
| | | comActActSignDO.setSignIdentity(signIdentity); |
| | | comActActSignDO.setTimes(comActActSignDO.getTimes()+1); |
| | | comActActSignDO.setIsInvite(isInvite); |
| | | comActActSignDO.setCheckUnitId(signactivityVO.getCheckUnitId()); |
| | | num = comActActSignDAO.updateById(comActActSignDO); |
| | | } else { |
| | | comActActSignDO = new ComActActSignDO(); |
| | |
| | | comActActSignDO.setSignIdentity(signIdentity); |
| | | comActActSignDO.setTimes(1); |
| | | comActActSignDO.setIsInvite(isInvite); |
| | | comActActSignDO.setCheckUnitId(signactivityVO.getCheckUnitId()); |
| | | num = comActActSignDAO.insert(comActActSignDO); |
| | | } |
| | | } else { |
| | |
| | | comActActRegistDO.setCodeId(comActActRegistVO.getCodeId()); |
| | | comActActRegistDO.setAward(0); |
| | | comActActRegistDO.setPosition(comActActRegistVO.getPosition()); |
| | | comActActRegistDO.setCheckUnitId(comActActSignDO.getCheckUnitId()); |
| | | comActActRegistDO.setTimes(signAllCount + 1); |
| | | int result = comActActRegistDAO.insert(comActActRegistDO); |
| | | if (result > 0) { |