|
|
@ -38,7 +38,10 @@ import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.*; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
/** |
|
|
|
* 党员报道 |
|
|
@ -185,6 +188,11 @@ public class ReportPartyServiceImpl extends BaseServiceImpl<ReportPartyDao, Repo |
|
|
|
return baseDao.findByIdCardAndName(idCard, name); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public ReportPartyDTO getByIdCardAndName(String idCard, String name) { |
|
|
|
return ConvertUtils.sourceToTarget(baseDao.getByIdCardAndName(idCard, name), ReportPartyDTO.class); |
|
|
|
} |
|
|
|
|
|
|
|
private void setDeptId(ReportPartyDTO dto) { |
|
|
|
UserDetail user = SecurityUser.getUser(); |
|
|
|
String deptId = String.valueOf(user.getDeptId()); |
|
|
|