|  |  |  | 
|---|
|  |  |  | import com.ld.igds.util.ContextUtil; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import org.apache.commons.lang.StringUtils; | 
|---|
|  |  |  | import org.springframework.beans.BeanUtils; | 
|---|
|  |  |  | import org.springframework.stereotype.Component; | 
|---|
|  |  |  | import org.springframework.transaction.annotation.Transactional; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | InoutData data = new InoutData(); | 
|---|
|  |  |  | data.setCompanyId(user.getCompanyId()); | 
|---|
|  |  |  | data.setRegisterTime(new Date()); | 
|---|
|  |  |  | data.setCompleteTime(new Date()); | 
|---|
|  |  |  | data.setType(type); | 
|---|
|  |  |  | data.setIntelCard("0000"); | 
|---|
|  |  |  | data.setRegisterUser(user.getCname()); | 
|---|
|  |  |  | data.setDeptId(ContextUtil.subDeptId(user)); | 
|---|
|  |  |  | data.setCheckUser(user.getCname()); | 
|---|