Compare commits

..

No commits in common. "9b4d6ab400e1950d30388cfcfdc61eaa50632d16" and "6f7a5892681ad2bf6c68fbd7f8b8505e63727e08" have entirely different histories.

3 changed files with 1 additions and 6 deletions

View File

@ -54,13 +54,9 @@ public class DataReceiveDetail {
private String checkUnit;
@ApiModelProperty(value = "检验日期")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date checkDate;
@ApiModelProperty(value = "下次检验日期")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private Date nextCheckDate;
@ApiModelProperty(value = "机手姓名")

View File

@ -21,7 +21,6 @@ public class MaReceiveServiceImpl implements MaReceiveService {
private MaReceiveMapper maReceiveMapper;
@Override
@Transactional
public int saveDataReceiveInfo(DataReceiveInfo dataReceiveInfo) {
maReceiveMapper.saveDataReceiveInfo(dataReceiveInfo);
if (dataReceiveInfo.getId() != null) {

View File

@ -9,7 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
values(#{pushNum},now())
</insert>
<insert id="saveDataReceiveDetails">
insert into data_receive_detail(receive_id,check_code,check_unit,check_date,is_new,ma_id,ma_user_name,next_check_date,out_factory_time,rent_price,rent_time,supplier,type_id,unit_id)
insert into data_receive_detail(receiveId,check_code,check_unit,check_date,is_new,ma_id,ma_user_name,next_check_date,out_factory_time,rent_price,rent_time,supplier,type_id,unit_id)
values(#{receiveId},#{checkCode},#{checkUnit},#{checkDate},#{isNew},#{maId},#{maUserName},#{nextCheckDate},#{outFactoryTime},#{rentPrice},#{rentTime},#{supplier},#{typeId},#{unitId})
</insert>
<select id="getDataReceive" resultType="com.bonus.sgzb.base.domain.DataReceiveInfo">