Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d802b903af
|
|
@ -501,6 +501,8 @@ public class ComplexQueryController extends BaseController {
|
|||
@GetMapping("/getPersonNum")
|
||||
public AjaxResult getPersonNum(RetainedEquipmentInfo bean) {
|
||||
startPage();
|
||||
Long deptId = typeService.getUserDeptId();
|
||||
bean.setCompanyId(Math.toIntExact(deptId));
|
||||
List<RetainedEquipmentInfo> pageList = complexQueryService.getPersonNum(bean);
|
||||
return AjaxResult.success(getDataTable(pageList));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1692,6 +1692,9 @@
|
|||
sai.`status` = '0' and sai.`is_slt` = '0'
|
||||
AND sai.end_time IS NULL
|
||||
AND sai.back_id IS NULL
|
||||
<if test="companyId != null">
|
||||
AND sai.company_id = #{companyId}
|
||||
</if>
|
||||
GROUP BY mt.type_id
|
||||
) AS subquery1
|
||||
ON mt.type_id = subquery1.type_id
|
||||
|
|
@ -1720,6 +1723,9 @@
|
|||
<if test="typeModelName != null and typeModelName != ''">
|
||||
and mt.type_name like concat('%',#{typeModelName},'%')
|
||||
</if>
|
||||
<if test="companyId != null">
|
||||
and mt.company_id = #{companyId}
|
||||
</if>
|
||||
</select>
|
||||
<select id="batchSelectInfo" resultType="com.bonus.material.basic.domain.UseStorageInfo">
|
||||
SELECT
|
||||
|
|
|
|||
Loading…
Reference in New Issue