|
|
@@ -211,11 +211,11 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
public Pagination<OutPublicReleaseList> listPublicRelease(InputPublicReleaseList in) {
|
|
|
Map<String,Object> map =new HashMap<String, Object>();
|
|
|
map.put("type", in.getType()==null?0:in.getType());
|
|
|
- if (in.getType()==0||in.getType()==1){
|
|
|
- map.put("aid",TokenManager.getAdminId());
|
|
|
- }else if (in.getType()==3) {
|
|
|
+ if (in.getType()==3) {
|
|
|
in.setAssist(2);
|
|
|
if (!TokenManager.hasRole(AFTConstants.TECH_FINANCE_DIRECTOR))map.put("aid",TokenManager.getAdminId());
|
|
|
+ }else{
|
|
|
+ map.put("aid",TokenManager.getAdminId());
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(in.getClockTime())) map.put("clockTime", in.getClockTime());
|
|
|
if(StringUtils.isNotEmpty(in.getReleaseStarts())) map.put("releaseStarts", in.getReleaseStarts());
|