mybatis 关于传long 类型问题

@Data
public class PrealertPackageStatusDTO {

private Integer nowStatus;
/**
* packageStatusEnum
*/
private Integer targetStatus;

private PackageReceiveStatus receiveStatus;

// private packageMainTypeEnum mainType;

private Integer refType;

private PackageType packageType;

private Long packageId;

private Date updateTime;

/**
* 货是否找到,默认为Y,货在架上。N 货找不到 值定义:PackageParcelFoundedEnum
*/
private String parcelFounded;

/**
* 入库委托单号状态枚举
*/
private PackageDelegateStatusEnum packageDelegateStatusEnum;
}

---------------------------------------------------------

<update id="updatePackageId">
update prealert_package_track_time
<set>
id = #{newPackageId},
update_time = NOW()
</set>
where id=#{packageId}
</update>
</mapper>

posted on 2018-08-23 23:42  chengjunde  阅读(1398)  评论(0编辑  收藏  举报

导航