系统bug修改
This commit is contained in:
parent
8509d2bb10
commit
79361e219f
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ public class TreeNode {
|
|||
|
||||
private String code;
|
||||
|
||||
private float num;
|
||||
|
||||
private String modelCode;
|
||||
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue