|
|
@ -970,9 +970,9 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
formDto.setContactMode(itemEntity.getMobile()); |
|
|
|
double[] gps= GPSUtils.gcj02_To_Gps84(itemEntity.getIssueLatitude(),itemEntity.getIssueLongitude()); |
|
|
|
// 坐标X
|
|
|
|
formDto.setCoordX(new BigDecimal(gps[1])); |
|
|
|
formDto.setCoordX(new BigDecimal(gps[1]).setScale(15, BigDecimal.ROUND_HALF_UP)); |
|
|
|
// 坐标Y
|
|
|
|
formDto.setCoordY(new BigDecimal(gps[0])); |
|
|
|
formDto.setCoordY(new BigDecimal(gps[0]).setScale(15, BigDecimal.ROUND_HALF_UP)); |
|
|
|
// 监督员编号
|
|
|
|
formDto.setKeepersn(""); |
|
|
|
// 操作时间
|
|
|
|