feat(用户信息接口): 子审核信息中添加班组字段
							parent
							
								
									b9eecf94ed
								
							
						
					
					
						commit
						b99d9b1fe1
					
				| 
						 | 
					@ -15,9 +15,10 @@ class CheckLog extends Base
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return self::alias('cl')
 | 
					        return self::alias('cl')
 | 
				
			||||||
            ->leftJoin('position p', 'p.id = cl.position')
 | 
					            ->leftJoin('position p', 'p.id = cl.position')
 | 
				
			||||||
 | 
					            ->leftJoin('outsource o', 'o.id = cl.outsource_id')
 | 
				
			||||||
            ->where('cl.account_id', $accountId)
 | 
					            ->where('cl.account_id', $accountId)
 | 
				
			||||||
            ->whereIn('cl.status', [self::COMMON_OFF])
 | 
					            ->whereIn('cl.status', [self::COMMON_OFF])
 | 
				
			||||||
            ->field('cl.*,p.name as position_name')
 | 
					            ->field('cl.*,p.name as position_name,o.name as outsource_name')
 | 
				
			||||||
            ->order('cl.id', 'desc')
 | 
					            ->order('cl.id', 'desc')
 | 
				
			||||||
            ->find();
 | 
					            ->find();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue