parent
7be4c960ba
commit
dab452d1d9
@ -0,0 +1,49 @@
|
|||||||
|
package com.dsic.gj_erp.bean.sy;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@Table
|
||||||
|
public class SyMsg {
|
||||||
|
private String id;
|
||||||
|
//消息类型,41:月度计划下发;其他待定
|
||||||
|
//根据消息类型,属性为subDataX的字段分别代表不同含义
|
||||||
|
private String msgType;
|
||||||
|
|
||||||
|
private String subId;//发起人id
|
||||||
|
|
||||||
|
private String subName;//发起人姓名
|
||||||
|
|
||||||
|
private String subTime;//发起时间
|
||||||
|
|
||||||
|
private String subText;//发起内容
|
||||||
|
|
||||||
|
private String subData1;
|
||||||
|
|
||||||
|
private String subData2;
|
||||||
|
|
||||||
|
private String subData3;
|
||||||
|
|
||||||
|
private String subData4;
|
||||||
|
|
||||||
|
private String subData5;
|
||||||
|
|
||||||
|
private String handResult;//处理结果
|
||||||
|
|
||||||
|
private String handTime;//处理时间
|
||||||
|
|
||||||
|
private String handId;//处理人id
|
||||||
|
|
||||||
|
private String handName;//处理人
|
||||||
|
|
||||||
|
private String handAdv;//处理意见
|
||||||
|
|
||||||
|
private String zt;//状态,待定
|
||||||
|
|
||||||
|
private String memo;//备注
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package com.dsic.gj_erp.controller.sy;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("msg")
|
||||||
|
public class SyMsgController {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package com.dsic.gj_erp.mapper.sy;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.dsic.gj_erp.bean.sy.SyMsg;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface SyMsgMapper extends BaseMapper<SyMsg> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.dsic.gj_erp.service.sy.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.dsic.gj_erp.bean.sy.SyMsg;
|
||||||
|
import com.dsic.gj_erp.mapper.sy.SyMsgMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class SyMsgService extends ServiceImpl<SyMsgMapper, SyMsg> {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue