系统bug修改

This commit is contained in:
liang.chao 2024-01-19 15:57:05 +08:00
parent 8509d2bb10
commit 79361e219f
4 changed files with 8 additions and 1 deletions

View File

@ -274,7 +274,7 @@ public class TmTaskController extends BaseController {
* 查询机具领料审核列表
*
* @param task 筛选条件
* @param souceBy app为1
* @param souceBy app为1 web为0
* @return 列表
*/
@Log(title = "查询机具领料审核列表", businessType = BusinessType.QUERY)

View File

@ -454,6 +454,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ma_type mt4 ON mt4.type_id = mt3.parent_id
WHERE
bai.id = #{id}
<if test="keyWord != null and keyWord != ''">
and (mt2.type_name like concat('%', #{keyWord}, '%') or
mt.type_name like concat('%', #{keyWord}, '%'))
</if>
</select>
<select id="getUseTypeTree" resultType="com.bonus.sgzb.material.domain.TypeTreeNode">
WITH RECURSIVE cte AS (

View File

@ -30,6 +30,8 @@ public class TreeNode {
private String code;
private float num;
private String modelCode;
@JsonInclude(JsonInclude.Include.NON_EMPTY)

View File

@ -96,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
unit_name AS unitName,
company_id AS companyId,
code,
num,
model_code modelCode
FROM ma_type
WHERE del_flag = '0'