This commit is contained in:
hayu 2025-12-03 20:05:26 +08:00
parent c8f7e94c8e
commit 448f0e9e96
2 changed files with 14 additions and 2 deletions

View File

@ -220,7 +220,19 @@
FROM mm_newinput FROM mm_newinput
WHERE TASK_ID = #{id} WHERE TASK_ID = #{id}
</select> </select>
<select id="getNewInputByTaskId" resultType="com.bonus.newInput.beans.NewInputBean">
SELECT
id,
TASK_ID as taskId,
TASK_STATUS as taskStatus,
IS_SURE as isSure
FROM
wf_task_appoint
WHERE
TASK_ID = #{taskId}
</select>
<delete id="deleteMachine" parameterType="com.bonus.newInput.beans.NewInputBean"> <delete id="deleteMachine" parameterType="com.bonus.newInput.beans.NewInputBean">
delete from mm_machines delete from mm_machines
where ID = #{maId} where ID = #{maId}

View File

@ -57,7 +57,7 @@
<if test="name != null and name != ''"> <if test="name != null and name != ''">
and `NAME` like concat('%',#{name},'%') and `NAME` like concat('%',#{name},'%')
</if> </if>
<if test="companyId != 1 and companyId != '1'"> <if test="companyId != null and companyId != 1 and companyId != '1'">
AND COMPANY_ID = #{companyId} AND COMPANY_ID = #{companyId}
</if> </if>
</select> </select>