This commit is contained in:
parent
c8f7e94c8e
commit
448f0e9e96
|
|
@ -220,7 +220,19 @@
|
|||
FROM mm_newinput
|
||||
WHERE TASK_ID = #{id}
|
||||
</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 from mm_machines
|
||||
where ID = #{maId}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
<if test="name != null and name != ''">
|
||||
and `NAME` like concat('%',#{name},'%')
|
||||
</if>
|
||||
<if test="companyId != 1 and companyId != '1'">
|
||||
<if test="companyId != null and companyId != 1 and companyId != '1'">
|
||||
AND COMPANY_ID = #{companyId}
|
||||
</if>
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue