Browse Source

feat(pms): 添加实际操作员字段更新功能

- 在EamMapper.xml的更新语句中添加actualOperator条件判断
- 当actualOperator不为空时将其值更新到ActualOperator字段
- 保持原有的站点、订单号、功能类型和业务单元编号作为更新条件
master
qiankanghui 1 week ago
parent
commit
3b98d8d33d
  1. 3
      src/main/resources/mapper/pms/EamMapper.xml

3
src/main/resources/mapper/pms/EamMapper.xml

@ -2835,6 +2835,9 @@
reach_date = GetDate(), reach_date = GetDate(),
reach_operator = #{reachOperator}, reach_operator = #{reachOperator},
reach_operator_name = #{reachOperatorName} reach_operator_name = #{reachOperatorName}
<if test="actualOperator != null and actualOperator != ''">
,ActualOperator = #{actualOperator}
</if>
where site = #{site} and OrderNo = #{orderNo} and FunctionType = #{functionType} and bu_No = #{buNo} where site = #{site} and OrderNo = #{orderNo} and FunctionType = #{functionType} and bu_No = #{buNo}
</update> </update>

Loading…
Cancel
Save