漏掉时间

master
anthonyywj2 3 years ago
parent aac605e299
commit a4fec811c8

@ -1,17 +1,34 @@
package com.glxp.api.admin.controller.auth; package com.glxp.api.admin.controller.auth;
import com.glxp.api.admin.entity.auth.AuthConnectEntity;
import com.glxp.api.admin.entity.info.CompanyEntity;
import com.glxp.api.admin.req.auth.ConnectRequest; import com.glxp.api.admin.req.auth.ConnectRequest;
import com.glxp.api.admin.service.info.CompanyService;
import com.glxp.api.common.res.BaseResponse; import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils; import com.glxp.api.common.util.ResultVOUtils;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController @RestController
public class ConnectTestController { public class ConnectTestController {
@Resource
CompanyService companyService;
@GetMapping("/udiwms/auth/device/connect") @GetMapping("/udiwms/auth/device/connect")
public BaseResponse index(ConnectRequest connequest) { public BaseResponse index(ConnectRequest connequest) {
return ResultVOUtils.success("连接UDI管理系统成功");
CompanyEntity companyEntity = companyService.findCompany();
AuthConnectEntity authConnectEntity = new AuthConnectEntity();
authConnectEntity.setCompanyName(companyEntity.getName());
authConnectEntity.setSysName("UDI管理系统");
return ResultVOUtils.success(companyEntity.getName());
} }

@ -0,0 +1,9 @@
package com.glxp.api.admin.entity.auth;
import lombok.Data;
@Data
public class AuthConnectEntity {
private String companyName;
private String sysName;
}

@ -7,7 +7,7 @@ import lombok.Data;
*/ */
@Data @Data
public class OrderNoResult { public class OrderNoResult {
private String id;
//补单单号 //补单单号
private String supplementNo; private String supplementNo;

@ -33,7 +33,7 @@
fromCorp, status, remark, exportStatus, fromType, contrastStatus, signStatus, fromCorp, status, remark, exportStatus, fromType, contrastStatus, signStatus,
receiveStatus, erpFk, stockCheckFk, supId, receiveStatus, erpFk, stockCheckFk, supId,
exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser, exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser,
outChangeEnable, originUllageSupNo, preCheck, thirdBillNo,updateTime) outChangeEnable, originUllageSupNo, preCheck, thirdBillNo, updateTime)
values (#{id}, values (#{id},
#{action}, #{action},
#{corpOrderId}, #{corpOrderId},
@ -53,7 +53,7 @@
#{stockCheckFk}, #{stockCheckFk},
#{supId}, #{exportFilePath}, #{locStorageCode}, #{supplementNo} #{supId}, #{exportFilePath}, #{locStorageCode}, #{supplementNo}
, #{ullageSupNo}, #{createUser}, #{reviewUser}, #{outChangeEnable}, #{originUllageSupNo}, , #{ullageSupNo}, #{createUser}, #{reviewUser}, #{outChangeEnable}, #{originUllageSupNo},
#{preCheck}, #{thirdBillNo},#{updateTime}) #{preCheck}, #{thirdBillNo}, #{updateTime})
</insert> </insert>
<insert id="importOrder" keyProperty="id" parameterType="com.glxp.api.admin.entity.inout.OrderEntity"> <insert id="importOrder" keyProperty="id" parameterType="com.glxp.api.admin.entity.inout.OrderEntity">
@ -92,7 +92,8 @@
#{outChangeEnable}, #{outChangeEnable},
#{originUllageSupNo}, #{originUllageSupNo},
#{preCheck}, #{preCheck},
#{thirdBillNo},#{updateTime} #{thirdBillNo},
#{updateTime}
) )
</insert> </insert>
@ -569,14 +570,14 @@
where id = #{id} where id = #{id}
</select> </select>
<update id="updateReplicateNo"> <update id="updateReplicateNo">
update io_order update io_order
set replicateNo = #{replicateNo} set replicateNo = #{replicateNo}
where id = #{orderId} where id = #{orderId}
</update> </update>
<select id="selectOrderNos" resultType="com.glxp.api.admin.res.inout.OrderNoResult"> <select id="selectOrderNos" resultType="com.glxp.api.admin.res.inout.OrderNoResult">
select supplementNo, originUllageSupNo, ullageSupNo, replicateNo select id, supplementNo, originUllageSupNo, ullageSupNo, replicateNo
from io_order from io_order
where id = #{id} where id = #{id}
</select> </select>

Loading…
Cancel
Save