This commit is contained in:
linfso 2024-12-18 16:50:21 +08:00
parent 90ce2d07c8
commit 839e4a03d4
2 changed files with 3 additions and 2 deletions

View File

@ -1304,7 +1304,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
}
// 同时修改网点为取件员所在的网点
SysUser sysUser = getEmisStaffByCode(emisWaybillOld.getTakePieceEmployeeCode());
SysUser sysUser = getEmisStaffByCode(emisWaybill.getTakePieceEmployeeCode());
emisWaybill.setSendSiteCode(sysUser.getOwnerSiteCode());
emisWaybill.setBillCode(emisWaybillOld.getBillCode());

View File

@ -2631,7 +2631,8 @@
<!-- 分配取件员 -->
<update id="assignTakeMan" parameterType="EmisWaybill">
update emis_waybill set
take_piece_employee_code = #{takePieceEmployeeCode},send_site_code=#{sendSiteCode}
take_piece_employee_code = #{takePieceEmployeeCode},
send_site_code = #{sendSiteCode}
<if test="updateBy != null and updateBy != ''">,update_by = #{updateBy}</if>
<if test="updateSite != null and updateSite != ''">,update_site = #{updateSite}</if>
where order_sn=#{orderSn}