|
|
|
@ -15,7 +15,6 @@ import com.engine.organization.mapper.staff.StaffPlanMapper;
|
|
|
|
|
import com.engine.organization.mapper.trigger.StaffTriggerMapper;
|
|
|
|
|
import com.engine.organization.util.OrganizationDateUtil;
|
|
|
|
|
import com.engine.organization.util.db.MapperProxyFactory;
|
|
|
|
|
import com.engine.organization.util.relation.EcHrmRelationUtil;
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
import weaver.common.DateUtil;
|
|
|
|
|
|
|
|
|
@ -164,8 +163,7 @@ public class StaffTriggerRunnable implements Runnable {
|
|
|
|
|
break;
|
|
|
|
|
case "3":
|
|
|
|
|
planSum = getStaffTriggerMapper().countJobStaffNum(currentDate, objId);
|
|
|
|
|
String ecJobId = EcHrmRelationUtil.getEcJobId(Long.parseLong(objId));
|
|
|
|
|
onJobSum = getStaffTriggerMapper().countJobUsers(ecJobId);
|
|
|
|
|
onJobSum = getStaffTriggerMapper().countOnJobByJObId(objId);
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|