Commit bf63a1f6 by zhanghj

V1.2.0--完善订货单物流功能

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@22003 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 9622ffe2
...@@ -30,7 +30,6 @@ public class IndentLogisticsServiceImpl implements IndentLogisticsService{ ...@@ -30,7 +30,6 @@ public class IndentLogisticsServiceImpl implements IndentLogisticsService{
@Override @Override
public int addOrUpdateIndentLogistics(HttpServletRequest request, SysIndentLogistics indentLogistics) { public int addOrUpdateIndentLogistics(HttpServletRequest request, SysIndentLogistics indentLogistics) {
// TODO Auto-generated method stub // TODO Auto-generated method stub
Integer id = indentLogistics.getId();
Integer userId = UserUtils.getUserId(request); Integer userId = UserUtils.getUserId(request);
Integer indentId = indentLogistics.getIndentId(); Integer indentId = indentLogistics.getIndentId();
SysIndentLogistics sysIndentLogistics = indentLogisticsDao.getByIndentId(indentId); SysIndentLogistics sysIndentLogistics = indentLogisticsDao.getByIndentId(indentId);
......
...@@ -274,7 +274,14 @@ ...@@ -274,7 +274,14 @@
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
</if> </if>
</set> </set>
where id = #{id,jdbcType=INTEGER} <where>
<if test="id != null">
and id = #{id}
</if>
<if test="indentId != null">
and indent_id = #{indentId}
</if>
</where>
</update> </update>
<update id="updateByPrimaryKey" parameterType="com.glsx.ordercenter.pojo.SysIndentLogistics"> <update id="updateByPrimaryKey" parameterType="com.glsx.ordercenter.pojo.SysIndentLogistics">
update sys_indent_logistics update sys_indent_logistics
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!