|
@@ -246,18 +246,19 @@ public class TJsServiceImpl extends ServiceImpl<TJsMapper, TJs> implements TJsSe
|
|
|
Long time = getaTime(singn);
|
|
|
singn.setOnlineTime(time.intValue());
|
|
|
signService.updateById(singn);
|
|
|
- } else {
|
|
|
- tSign.setSingTime(DateTimeUtils.getStartDate(new Date()));
|
|
|
- tSign.setLayoffTime(new Date());
|
|
|
- tSign.setOpenId(js2.getcOpenId());
|
|
|
- tSign.setJsId(js2.getId());
|
|
|
- tSign.setName(js2.getcName());
|
|
|
- Long time = getaTime(tSign);
|
|
|
- tSign.setDeptId(js2.getDeptId());
|
|
|
- tSign.setDeptName(js2.getCity());
|
|
|
- tSign.setOnlineTime(time.intValue());
|
|
|
- signService.save(tSign);
|
|
|
}
|
|
|
+// else {
|
|
|
+// tSign.setSingTime(DateTimeUtils.getStartDate(new Date()));
|
|
|
+// tSign.setLayoffTime(new Date());
|
|
|
+// tSign.setOpenId(js2.getcOpenId());
|
|
|
+// tSign.setJsId(js2.getId());
|
|
|
+// tSign.setName(js2.getcName());
|
|
|
+// Long time = getaTime(tSign);
|
|
|
+// tSign.setDeptId(js2.getDeptId());
|
|
|
+// tSign.setDeptName(js2.getCity());
|
|
|
+// tSign.setOnlineTime(time.intValue());
|
|
|
+// signService.save(tSign);
|
|
|
+// }
|
|
|
}
|
|
|
return this.updateById(js);
|
|
|
}
|