|
|
@@ -462,6 +462,8 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
}
|
|
|
if (in.getAssist()==1){
|
|
|
in.setAssistProcess(1);
|
|
|
+ }else if (in.getAssist()==0){
|
|
|
+ publicReleaseMapper.updateAssist(in);
|
|
|
}
|
|
|
if (in.getUids()!=null){
|
|
|
List<String> split = Arrays.asList(in.getUids().split(","));
|
|
|
@@ -486,8 +488,6 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
List<PublicRelease> list = publicReleaseMapper.selectByMainId(in.getId(),3,null);
|
|
|
String[] split = in.getAssistAid().split(",");
|
|
|
if (split.length==0){
|
|
|
- in.setAssistAid("");
|
|
|
- in.setAssistAidName("");
|
|
|
for (PublicRelease e : list) {
|
|
|
if (e.getClockIn()==1){
|
|
|
throw new BusinessException("协单打卡不能删除");
|