Commit 7f38b7a3 authored by 竹天卫's avatar 竹天卫

穿孔修改 优化

parent b1e58f44
......@@ -131,19 +131,19 @@ public class TProcessesDrilling implements Serializable {
* 开孔坐标X
*/
@TableField("X")
private Double x;
private String x;
/**
* 开孔坐标Y
*/
@TableField("Y")
private Double y;
private String y;
/**
* 开孔坐标Z
*/
@TableField("Z")
private Double z;
private String z;
/**
* 单孔爆破量(m3)
......
......@@ -120,19 +120,19 @@ public class TProcessesDrillingQuery {
* 开孔坐标X
*/
@ApiModelProperty("X")
private Double x;
private String x;
/**
* 开孔坐标Y
*/
@ApiModelProperty("Y")
private Double y;
private String y;
/**
* 开孔坐标Z
*/
@ApiModelProperty("Z")
private Double z;
private String z;
/**
* 单孔爆破量(m3)
......
......@@ -249,7 +249,11 @@ public class TProcessesDrillingServiceImpl extends ServiceImpl<TProcessesDrillin
QueryWrapper<TProcessesDrilling> queryWrapper = new QueryWrapper<>();
queryWrapper.eq(StringUtils.isNotBlank(query.getUid()), ProjectEnum.TProcessesDrilling.UID.getLabel(), query.getUid());
//修改
int update = baseMapper.update(temp, queryWrapper);
// int update = baseMapper.update(temp, queryWrapper);
int update =baseMapper.updateById(temp);
if (update > 0) {
return R.ok("穿孔工序中->修改成功");
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment